diff options
author | subtly <subtly@users.noreply.github.com> | 2015-03-23 01:33:15 +0800 |
---|---|---|
committer | subtly <subtly@users.noreply.github.com> | 2015-03-23 01:33:15 +0800 |
commit | ee68d16ff3d24520d846d17c34fb1eda600a2f8f (patch) | |
tree | 5523bfd33c98b3a59969a07c33b125d266338359 /peer.cpp | |
parent | ca740a924bc06a9f8eac4c3950f1419857d56c08 (diff) | |
download | dexon-solidity-ee68d16ff3d24520d846d17c34fb1eda600a2f8f.tar.gz dexon-solidity-ee68d16ff3d24520d846d17c34fb1eda600a2f8f.tar.zst dexon-solidity-ee68d16ff3d24520d846d17c34fb1eda600a2f8f.zip |
constant for discovery protocol version
Diffstat (limited to 'peer.cpp')
-rw-r--r-- | peer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ BOOST_AUTO_TEST_CASE(save_nodes) RLP r(firstHostNetwork); BOOST_REQUIRE(r.itemCount() == 3); - BOOST_REQUIRE(r[0].toInt<int>() == 1); + BOOST_REQUIRE(r[0].toInt<int>() == NodeTable::s_version); BOOST_REQUIRE_EQUAL(r[1].toBytes().size(), 32); // secret BOOST_REQUIRE_EQUAL(r[2].itemCount(), 5); } |