Fix too-small buffer in test (#1541)
This commit is contained in:
parent
9526f649bf
commit
6d49c66263
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ TEST (uint256_union, decode_account_variations)
|
|||
nano::uint256_union pub;
|
||||
xrb_key_account (key.data.bytes.data (), pub.bytes.data ());
|
||||
|
||||
char account[65] = { 0 };
|
||||
char account[66] = { 0 };
|
||||
xrb_uint256_to_address (pub.bytes.data (), account);
|
||||
|
||||
// Replace first digit after xrb_ with '0'..'9', make sure only one of them is valid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue