mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 11:08:52 +00:00
Fixed uninitialized valgrind errors in serialization tests
This commit is contained in:
parent
c7f9d0d971
commit
d55e2266ca
@ -630,9 +630,11 @@ TEST(Serialization, serializes_ringct_types)
|
||||
|
||||
tx0.set_null();
|
||||
tx0.version = 2;
|
||||
cryptonote::txin_to_key txin_to_key1;
|
||||
cryptonote::txin_to_key txin_to_key1{};
|
||||
txin_to_key1.amount = 100;
|
||||
txin_to_key1.key_offsets.resize(4);
|
||||
cryptonote::txin_to_key txin_to_key2;
|
||||
cryptonote::txin_to_key txin_to_key2{};
|
||||
txin_to_key2.amount = 200;
|
||||
txin_to_key2.key_offsets.resize(4);
|
||||
tx0.vin.push_back(txin_to_key1);
|
||||
tx0.vin.push_back(txin_to_key2);
|
||||
|
Loading…
Reference in New Issue
Block a user