Jeiwan / blockchain_go

A simplified blockchain implementation in Golang
4.14k stars 1.17k forks source link

base58 issue #48

Open wangrenxing opened 6 years ago

wangrenxing commented 6 years ago

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++ } }

big-omega commented 5 years ago

Yes, it is.