fix range in Base58Decode

This commit is contained in:
Jeep Sun 2017-11-22 23:43:14 +08:00 committed by GitHub
parent c5c21fd069
commit 0f48bba1df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ func Base58Decode(input []byte) []byte {
result := big.NewInt(0)
zeroBytes := 0
for _, b := range input {
for b := range input {
if b == 0x00 {
zeroBytes++
}