forked from TrueCloudLab/neoneo-go
interop: fix Base58Decode interop
This commit is contained in:
parent
492a89eb02
commit
ac91de80e7
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ func Base58Encode(b []byte) string {
|
|||
// Base58Decode decodes given base58 string represented as a byte slice into
|
||||
// a new byte slice. It uses `System.Binary.Base58Decode` syscall.
|
||||
func Base58Decode(b []byte) []byte {
|
||||
return neogointernal.Syscall1("System.Binary.Base64Decode", b).([]byte)
|
||||
return neogointernal.Syscall1("System.Binary.Base58Decode", b).([]byte)
|
||||
}
|
||||
|
||||
// Itoa converts num in a given base to string. Base should be either 10 or 16.
|
||||
|
|
Loading…
Reference in a new issue