mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-29 10:43:14 +00:00
p2p: simplify last_seen serialization now we have optional stores
This commit is contained in:
parent
9467b2e44c
commit
606318026e
1 changed files with 1 additions and 2 deletions
|
@ -82,7 +82,6 @@ namespace nodetool
|
||||||
BEGIN_KV_SERIALIZE_MAP()
|
BEGIN_KV_SERIALIZE_MAP()
|
||||||
KV_SERIALIZE(adr)
|
KV_SERIALIZE(adr)
|
||||||
KV_SERIALIZE(id)
|
KV_SERIALIZE(id)
|
||||||
if (!is_store || this_ref.last_seen != 0)
|
|
||||||
KV_SERIALIZE_OPT(last_seen, (int64_t)0)
|
KV_SERIALIZE_OPT(last_seen, (int64_t)0)
|
||||||
KV_SERIALIZE_OPT(pruning_seed, (uint32_t)0)
|
KV_SERIALIZE_OPT(pruning_seed, (uint32_t)0)
|
||||||
KV_SERIALIZE_OPT(rpc_port, (uint16_t)0)
|
KV_SERIALIZE_OPT(rpc_port, (uint16_t)0)
|
||||||
|
|
Loading…
Reference in a new issue