Fix too-small buffer in test (#1541)

This commit is contained in:
Roy Keene 2019-01-02 19:27:58 -06:00 committed by GitHub
commit 6d49c66263
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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