base58 issue
wangrenxing opened this issue · comments
Robin commented
Tks for u good job.
I find some problem in branch part5
file: base58.go
function Base58Encode:
//for b := range input {
for _, b := range input {
if b == 0x00 {
result = append([]byte{b58Alphabet[0]}, result...)
} else {
break
}
}
function Base58Encode:
//for b := range input {
for _,b := range input {
//if b == 0x00 {
if b == b58Alphabet[0] {
zeroBytes++
}
}
Zhengfeng commented
Yes, it is.