aboutsummaryrefslogtreecommitdiff
path: root/src/key_io.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2019-11-18 15:16:50 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2019-11-19 15:38:27 -0800
commit2bcf1fc444d5c4b8efa879e54e7b6134b7e6b986 (patch)
tree333cb13784c3cd48d5ade305246212ddbd590386 /src/key_io.cpp
parentb4a1da9ef8e4b673c290d5b882527e627ae1b43a (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/key_io.cpp')
0 files changed, 0 insertions, 0 deletions