Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
xrb_uint256_to_string does not null-terminate the address string #290
The idea with this was that someone could put this number in to the middle of a string without having the null character clobber something.
// Convert public/private key bytes 'source' to a 64 byte not-null-terminated hex string 'destination'
ok thanks. but to_address() uses 65 chars
in the test they are both expecting 65 byte null-terminated buffers: