mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-29 03:41:45 +00:00
smartcontract: add comment to GetCompleteTransaction
This commit is contained in:
parent
af658bc3e5
commit
4dbaf2a123
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,8 @@ func NewParameterContext(typ string, network netmode.Magic, verif crypto.Verifia
|
|||
}
|
||||
}
|
||||
|
||||
// GetCompleteTransaction clears transaction witnesses (if any) and refills them with
|
||||
// signatures from the parameter context.
|
||||
func (c *ParameterContext) GetCompleteTransaction() (*transaction.Transaction, error) {
|
||||
tx, ok := c.Verifiable.(*transaction.Transaction)
|
||||
if !ok {
|
||||
|
|
Loading…
Reference in a new issue