mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
codingstandards
This commit is contained in:
parent
ee68d16ff3
commit
96a32d19d5
2
peer.cpp
2
peer.cpp
@ -90,7 +90,7 @@ BOOST_AUTO_TEST_CASE(save_nodes)
|
||||
|
||||
RLP r(firstHostNetwork);
|
||||
BOOST_REQUIRE(r.itemCount() == 3);
|
||||
BOOST_REQUIRE(r[0].toInt<int>() == NodeTable::s_version);
|
||||
BOOST_REQUIRE(r[0].toInt<int>() == NodeTable::c_version);
|
||||
BOOST_REQUIRE_EQUAL(r[1].toBytes().size(), 32); // secret
|
||||
BOOST_REQUIRE_EQUAL(r[2].itemCount(), 5);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user