tendermint icon indicating copy to clipboard operation
tendermint copied to clipboard

a peer may panic when switch from fastSync to stateSync

Open chengzhinei opened this issue 3 years ago • 2 comments

when switchToConsensus, cs.LastCommit is nil. and if it receives the vote of last height at this moment, it will panic because of LastCommit.AddVote()

image image

chengzhinei avatar Jun 06 '22 11:06 chengzhinei

Thanks for raising this issue. What version do you see this in?

cmwaters avatar Jun 10 '22 09:06 cmwaters

We use an early version, but have no change here. And it still has this problem in the latest version, but is it occasional.

Thanks for raising this issue. What version do you see this in?

chengzhinei avatar Jul 27 '22 02:07 chengzhinei