|
|
@ -67,11 +67,6 @@ func (node *Node) WaitForConsensusReadyv2(readySignal chan struct{}, stopChan ch |
|
|
|
viewID := node.Consensus.GetViewID() |
|
|
|
viewID := node.Consensus.GetViewID() |
|
|
|
// add aggregated commit signatures from last block, except for the first two blocks
|
|
|
|
// add aggregated commit signatures from last block, except for the first two blocks
|
|
|
|
|
|
|
|
|
|
|
|
if err = node.Worker.UpdateCurrent(coinbase); err != nil { |
|
|
|
|
|
|
|
utils.GetLogger().Debug("Failed updating worker's state", "Error", err) |
|
|
|
|
|
|
|
continue |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
newBlock, err = node.Worker.Commit(sig, mask, viewID, coinbase) |
|
|
|
newBlock, err = node.Worker.Commit(sig, mask, viewID, coinbase) |
|
|
|
|
|
|
|
|
|
|
|
if err != nil { |
|
|
|
if err != nil { |
|
|
|