Browse Source

fix #1055

cl-refactor
subtly 10 years ago
parent
commit
a0f0812fcb
  1. 3
      libp2p/Host.cpp

3
libp2p/Host.cpp

@ -665,6 +665,8 @@ bytes Host::saveNetwork() const
}
}
if (!!m_nodeTable)
{
auto state = m_nodeTable->snapshot();
state.sort();
for (auto const& s: state)
@ -677,6 +679,7 @@ bytes Host::saveNetwork() const
network << s.endpoint.tcp.port() << s.id;
count++;
}
}
RLPStream ret(3);
ret << 1 << m_alias.secret();

Loading…
Cancel
Save