mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-08 03:01:12 -04:00
chore(node-core): log errors in debug when ETA fails to calculate (#6971)
This commit is contained in:
@@ -99,9 +99,7 @@ impl PayloadAttributes for CustomPayloadAttributes {
|
||||
|
||||
// custom validation logic - ensure that the custom field is not zero
|
||||
if self.custom == 0 {
|
||||
return Err(AttributesValidationError::invalid_params(
|
||||
CustomError::CustomFieldIsNotZero,
|
||||
));
|
||||
return Err(AttributesValidationError::invalid_params(CustomError::CustomFieldIsNotZero))
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user