[#751] morph/client: Add custom signer scope support
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
f121a73049
commit
43dfccd9b3
3 changed files with 31 additions and 4 deletions
|
@ -342,8 +342,10 @@ func (c *Client) notaryCosigners(ir []*keys.PublicKey, committee bool) ([]transa
|
|||
}
|
||||
|
||||
s = append(s, transaction.Signer{
|
||||
Account: hash.Hash160(multisigScript),
|
||||
Scopes: transaction.Global,
|
||||
Account: hash.Hash160(multisigScript),
|
||||
Scopes: c.signer.Scopes,
|
||||
AllowedContracts: c.signer.AllowedContracts,
|
||||
AllowedGroups: c.signer.AllowedGroups,
|
||||
})
|
||||
|
||||
// last one is a placeholder for notary contract signature
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue