forked from TrueCloudLab/neoneo-go
Merge pull request #1804 from nspcc-dev/interop/createmultisigaccount-fix
interop: fix CreateMultisigAccount interop
This commit is contained in:
commit
dedcab2d63
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ func IsStandard(h interop.Hash160) bool {
|
||||||
// script using given m and a set of public keys bytes. This function uses
|
// script using given m and a set of public keys bytes. This function uses
|
||||||
// `System.Contract.CreateMultisigAccount` syscall.
|
// `System.Contract.CreateMultisigAccount` syscall.
|
||||||
func CreateMultisigAccount(m int, pubs []interop.PublicKey) []byte {
|
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.
|
// CreateStandardAccount calculates script hash of a given public key.
|
||||||
|
|
Loading…
Reference in a new issue