diff options
| author | Zachary Michaels <mikezackles@gmail.com> | 2014-07-01 10:55:41 -0400 |
|---|---|---|
| committer | Zachary Michaels <mikezackles@gmail.com> | 2014-07-01 14:57:27 -0400 |
| commit | 7259f07a200fd583deb0dca1372bbe5fd760b440 (patch) | |
| tree | 91902f8de5dfcdb53be57bfa9d093b94e9c6c087 /src/cryptonote_core/cryptonote_core.cpp | |
| parent | 26c83c5dea7a256da65ded6a7624331c52edc3e3 (diff) | |
| download | monzero-core-7259f07a200fd583deb0dca1372bbe5fd760b440.tar.gz monzero-core-7259f07a200fd583deb0dca1372bbe5fd760b440.tar.xz monzero-core-7259f07a200fd583deb0dca1372bbe5fd760b440.zip | |
Fix assert bug in base58 encode
The previous implementation was almost certainly a typo.
full_block_size is the maximum index in the encoded_block_sizes array,
and size is used as an index in this array. So now 1 <= size <=
full_block_size == 8 instead of 1 <= size <= sizeof(full_block_size) ==
size_of(size_t) == ? (maybe 4 on 32-bit systems!)
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
0 files changed, 0 insertions, 0 deletions
