mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-28 21:51:22 +00:00
Error message in RebondTx so we know why it's failing.
This commit is contained in:
parent
115e57a1d5
commit
27c193dd86
@ -534,8 +534,14 @@ func (cs *ConsensusState) updateToState(state *sm.State, contiguous bool) {
|
||||
}
|
||||
err := cs.privValidator.SignRebondTx(rebondTx)
|
||||
if err == nil {
|
||||
log.Info("Signed and broadcast RebondTx", "height", cs.Height, "round", cs.Round, "tx", rebondTx)
|
||||
cs.mempoolReactor.BroadcastTx(rebondTx)
|
||||
err := cs.mempoolReactor.BroadcastTx(rebondTx)
|
||||
if err != nil {
|
||||
log.Error("Failed to broadcast RebondTx",
|
||||
"height", cs.Height, "round", cs.Round, "tx", rebondTx, "error", err)
|
||||
} else {
|
||||
log.Info("Signed and broadcast RebondTx",
|
||||
"height", cs.Height, "round", cs.Round, "tx", rebondTx)
|
||||
}
|
||||
} else {
|
||||
log.Warn("Error signing RebondTx", "height", cs.Height, "round", cs.Round, "tx", rebondTx, "error", err)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user