mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
incl missed staging method call
This commit is contained in:
parent
f62a98211c
commit
d871f2ea51
@ -1312,6 +1312,15 @@ func (e *GlobalConsensusEngine) handleProposal(message *pb.Message) {
|
||||
return
|
||||
}
|
||||
|
||||
if err := e.clockStore.PutGlobalClockFrameCandidate(
|
||||
proposal.State,
|
||||
txn,
|
||||
); err != nil {
|
||||
e.logger.Error("could not put frame", zap.Error(err))
|
||||
txn.Abort()
|
||||
return
|
||||
}
|
||||
|
||||
if err := txn.Commit(); err != nil {
|
||||
e.logger.Error("could not commit transaction", zap.Error(err))
|
||||
txn.Abort()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user