forked from TrueCloudLab/neoneo-go
parent
4a9ca253d3
commit
52e4d69c82
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