mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-09 03:13:13 +00:00
block: remove ConsensusData
field
This commit is contained in:
parent
7160675ac1
commit
2f490a3403
22 changed files with 52 additions and 196 deletions
|
@ -54,10 +54,6 @@ func createGenesisBlock(cfg config.ProtocolConfiguration) (*block.Block, error)
|
|||
b := &block.Block{
|
||||
Base: base,
|
||||
Transactions: []*transaction.Transaction{},
|
||||
ConsensusData: block.ConsensusData{
|
||||
PrimaryIndex: 0,
|
||||
Nonce: 2083236893,
|
||||
},
|
||||
}
|
||||
b.RebuildMerkleRoot()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue