transaction: drop Network from Transaction
We only need it when signing/verifying.
This commit is contained in:
parent
df12adaa9e
commit
d314f82db3
54 changed files with 305 additions and 373 deletions
|
@ -190,7 +190,6 @@ func (c *ParameterContext) UnmarshalJSON(data []byte) error {
|
|||
switch pc.Type {
|
||||
case "Neo.Core.ContractTransaction":
|
||||
tx := new(transaction.Transaction)
|
||||
tx.Network = netmode.Magic(pc.Net)
|
||||
verif = tx
|
||||
default:
|
||||
return fmt.Errorf("unsupported type: %s", c.Type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue