btcsuite / btcutil

Provides bitcoin-specific convenience functions and types
480 stars 410 forks source link

base58: fix bug with range #208

Closed egonelbre closed 2 years ago

egonelbre commented 2 years ago

The decode path was using a range over the string instead of iterating over the bytes.

Roasbeef commented 2 years ago

Can you transfer this over to https://github.com/btcsuite/btcd? I can't move PRs the same way it's possible to move issues.

egonelbre commented 2 years ago

Done https://github.com/btcsuite/btcd/pull/1799