interop: fix CreateMultisigAccount interop

Introduced in #1720.
This commit is contained in:
Anna Shaleva 2021-03-04 11:39:49 +03:00
parent 4a9ca253d3
commit 52e4d69c82

View file

@ -34,7 +34,7 @@ func IsStandard(h interop.Hash160) bool {
// script using given m and a set of public keys bytes. This function uses
// `System.Contract.CreateMultisigAccount` syscall.
func CreateMultisigAccount(m int, pubs []interop.PublicKey) []byte {
return neogointernal.Syscall1("System.Contract.CreateMultisigAccount", pubs).([]byte)
return neogointernal.Syscall2("System.Contract.CreateMultisigAccount", m, pubs).([]byte)
}
// CreateStandardAccount calculates script hash of a given public key.