Skip to content

Commit

Permalink
never show 0 more blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarstonConnell committed Sep 16, 2024
1 parent eb86022 commit d065d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func waitForReceipt(client *ethclient.Client, txHash common.Hash, finality int64
txBlock := receipt.BlockNumber.Int64()

blockDiff := latest - txBlock
if blockDiff > finality {
if blockDiff >= finality {
callBack(receipt)
return nil
} else {
Expand Down

0 comments on commit d065d62

Please sign in to comment.