Skip to content

Commit 59aa414

Browse files
committed
Fix eth_syncing serialization
1 parent 73023e8 commit 59aa414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monad-rpc/src/handlers/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ async fn eth_syncing(
620620
_app_state: &MonadRpcResources,
621621
_params: &RawValue,
622622
) -> Result<Box<RawValue>, JsonRpcError> {
623-
serialize_result(monad_eth_syncing().await)
623+
monad_eth_syncing().await.map(serialize_result)?
624624
}
625625

626626
#[allow(non_snake_case)]

0 commit comments

Comments
 (0)