mirror of
https://github.com/monero-project/monero.git
synced 2025-05-05 12:45:03 -04:00
add a few checks where it seems appropriate
This commit is contained in:
parent
581994b61c
commit
25a7cfdb4a
7 changed files with 8 additions and 2 deletions
|
@ -48,6 +48,7 @@ TEST(protocol_pack, protocol_pack_command)
|
|||
|
||||
cryptonote::NOTIFY_RESPONSE_CHAIN_ENTRY::request r2;
|
||||
res = epee::serialization::load_t_from_binary(r2, buff);
|
||||
ASSERT_TRUE(res);
|
||||
ASSERT_TRUE(r.m_block_ids.size() == i);
|
||||
ASSERT_TRUE(r.start_height == 1);
|
||||
ASSERT_TRUE(r.total_height == 3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue