block: remove ConsensusData field

This commit is contained in:
Evgeniy Stratonikov 2021-03-01 15:20:27 +03:00
parent 7160675ac1
commit 2f490a3403
22 changed files with 52 additions and 196 deletions

View file

@ -168,10 +168,6 @@ func newBlock(bc *core.Blockchain, lastBlock *block.Block, script []byte, txs ..
NextConsensus: witness.ScriptHash(),
Script: witness,
},
ConsensusData: block.ConsensusData{
PrimaryIndex: 0,
Nonce: 1111,
},
Transactions: txs,
}
if bc.GetConfig().StateRootInHeader {