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