From ac91de80e7940e4588323025c20a4b3e28ba3a1b Mon Sep 17 00:00:00 2001 From: Evgeniy Stratonikov Date: Thu, 25 Feb 2021 15:11:52 +0300 Subject: [PATCH] interop: fix Base58Decode interop --- pkg/interop/binary/binary.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/interop/binary/binary.go b/pkg/interop/binary/binary.go index 93e8207b6..3cf244e22 100644 --- a/pkg/interop/binary/binary.go +++ b/pkg/interop/binary/binary.go @@ -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.