From 9d36a33b9d9651107bf0169913e553dab9751b63 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Tue, 16 Mar 2021 12:40:45 +0300 Subject: [PATCH] [#59] netmap: Update multi address generation routine Signed-off-by: Alex Vanin --- netmap/netmap_contract.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/netmap/netmap_contract.go b/netmap/netmap_contract.go index c12e374..7b3f9b6 100644 --- a/netmap/netmap_contract.go +++ b/netmap/netmap_contract.go @@ -445,9 +445,7 @@ func multiaddress(n []common.IRNode, committee bool) []byte { ln := 0x10 + uint8(len(sortedNodes)) result = append(result, ln) // n value = 7 - result = append(result, 0x0B) // PUSHNULL - - result = append(result, []byte{0x41, 0x13, 0x8D, 0xEF, 0xAF}...) // NeoCryptoCheckMultisigWithECDsaSecp256r1 + result = append(result, []byte{0x41, 0x7B, 0xCE, 0x6C, 0xA5}...) // Neo.Crypto.CheckMultisig shaHash := crypto.Sha256(result)