mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: use U256::is_zero (#5616)
This commit is contained in:
@ -90,7 +90,7 @@ fn payload_validation() {
|
||||
assert_matches!(
|
||||
|
||||
try_into_sealed_block(block_with_zero_base_fee,None),
|
||||
Err(PayloadError::BaseFee(val)) if val == U256::ZERO
|
||||
Err(PayloadError::BaseFee(val)) if val.is_zero()
|
||||
);
|
||||
|
||||
// Invalid encoded transactions
|
||||
|
||||
Reference in New Issue
Block a user