mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-04 09:02:28 +00:00
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
|
@ -159,7 +159,7 @@ func (m *Message) decodePayload() error {
|
|||
case CMDHeaders:
|
||||
p = &payload.Headers{Network: m.Network, StateRootInHeader: m.StateRootInHeader}
|
||||
case CMDTX:
|
||||
p = &transaction.Transaction{Network: m.Network}
|
||||
p = &transaction.Transaction{}
|
||||
case CMDMerkleBlock:
|
||||
p = &payload.MerkleBlock{Network: m.Network}
|
||||
case CMDPing, CMDPong:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue