We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93cdf80 commit 8768606Copy full SHA for 8768606
src/hooks/evm_hook_call.rs
@@ -48,7 +48,7 @@ impl FromProtobuf<services::EvmHookCall> for EvmHookCall {
48
fn from_protobuf(pb: services::EvmHookCall) -> crate::Result<Self> {
49
Ok(Self {
50
call_data: if pb.data.is_empty() { None } else { Some(pb.data) },
51
- gas_limit: if pb.gas_limit == 0 { None } else { Some(pb.gas_limit) },
+ gas_limit: Some(pb.gas_limit),
52
})
53
}
54
0 commit comments