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
|
@ -141,7 +141,7 @@ readloop:
|
|||
case response.BlockEventID:
|
||||
val = block.New(c.GetNetwork(), c.StateRootInHeader())
|
||||
case response.TransactionEventID:
|
||||
val = &transaction.Transaction{Network: c.GetNetwork()}
|
||||
val = &transaction.Transaction{}
|
||||
case response.NotificationEventID:
|
||||
val = new(state.NotificationEvent)
|
||||
case response.ExecutionEventID:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue