diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2019-11-18 15:16:50 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2019-11-19 15:38:27 -0800 |
commit | 2bcf1fc444d5c4b8efa879e54e7b6134b7e6b986 (patch) | |
tree | 333cb13784c3cd48d5ade305246212ddbd590386 /src/bench | |
parent | b4a1da9ef8e4b673c290d5b882527e627ae1b43a (diff) |
Pass a maximum output length to DecodeBase58 and DecodeBase58Check
Also remove a needless loop in DecodeBase58 to prune zeroes in the base256
output of the conversion. The number of zeroes is implied by keeping track
explicitly of the length during the loop.
Diffstat (limited to 'src/bench')
0 files changed, 0 insertions, 0 deletions