block: remove ConsensusData
field
This commit is contained in:
parent
7160675ac1
commit
2f490a3403
22 changed files with 52 additions and 196 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue