Browse Source

Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop

cl-refactor
Gav Wood 10 years ago
parent
commit
d1ed000f70
  1. 3
      libp2p/Host.cpp

3
libp2p/Host.cpp

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

Loading…
Cancel
Save