Skip to content

Commit

Permalink
add debug log for dropped pending txs notifications (#783)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-kim authored Aug 9, 2023
1 parent 84f7a75 commit 309daad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/evm/block_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ func (b *blockBuilder) needToBuild() bool {
func (b *blockBuilder) markBuilding() {
// If the engine has not called BuildBlock, no need to send another message.
if b.buildSent {
log.Debug("previous PendingTxs notification still pending in consensus")
return
}
b.buildBlockTimer.Cancel() // Cancel any future attempt from the timer to send a PendingTxs message
Expand Down

0 comments on commit 309daad

Please sign in to comment.