Skip to content

Commit

Permalink
chore: add log for updating certificate (#1269)
Browse files Browse the repository at this point in the history
  • Loading branch information
b00f authored May 8, 2024
1 parent a8aaccc commit 92917d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ func (st *state) UpdateLastCertificate(v *vote.Vote) error {
cloneLastCert.AddSignature(val.Number(), v.Signature())
st.lastInfo.UpdateCertificate(cloneLastCert)

st.logger.Debug("certificate updated", "validator", val.Address(), "power", val.Power())

return nil
}

Expand Down

0 comments on commit 92917d1

Please sign in to comment.