MCPcopy Create free account
hub / github.com/chain/Core / SetArguments

Method SetArguments

protocol/bc/legacy/txinput.go:83–90  ·  view source on GitHub ↗
(args [][]byte)

Source from the content-addressed store, hash-verified

81}
82
83func (t *TxInput) SetArguments(args [][]byte) {
84 switch inp := t.TypedInput.(type) {
85 case *IssuanceInput:
86 inp.Arguments = args
87 case *SpendInput:
88 inp.Arguments = args
89 }
90}
91
92func (t *TxInput) readFrom(r *blockchain.Reader) (err error) {
93 t.AssetVersion, err = blockchain.ReadVarint63(r)

Callers 2

signMethod · 0.80
SetInputArgumentsMethod · 0.80

Calls

no outgoing calls

Tested by 1

signMethod · 0.64