mirror of
https://github.com/monero-project/monero.git
synced 2026-01-22 01:09:06 -08:00
add a few checks where it seems appropriate
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user