Skip to content

Commit

Permalink
type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Unique-Divine committed Nov 8, 2024
1 parent 08c0b20 commit fd90020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/rpc/rpcapi/eth_api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (s *NodeSuite) Test_BlockNumber() {
s.NoError(err)
// It might be off by 1 block in either direction.
blockDiff := networkBlockNumber - int64(ethBlockNumber)
s.LessOrEqualf(blockDiff, 2, "networkBlockNumber %d, ethBlockNumber %d",
s.Truef(blockDiff <= 2, "networkBlockNumber %d, ethBlockNumber %d",
networkBlockNumber, ethBlockNumber,
)
}
Expand Down

0 comments on commit fd90020

Please sign in to comment.