Skip to content

Commit

Permalink
jsonrpsee Server::start is infallible according to:
Browse files Browse the repository at this point in the history
paritytech/jsonrpsee#1137

This change allows to compile with jsonrpsee v0.19.0
  • Loading branch information
come-maiz committed Sep 12, 2024
1 parent 1f31d5d commit c675cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ async fn start<DB: Database>(rpc: RpcInner<DB>) -> Result<(ServerHandle, SocketA
methods.merge(eth_methods)?;
methods.merge(net_methods)?;

let handle = server.start(methods)?;
let handle = server.start(methods);

Ok((handle, addr))
}
Expand Down

0 comments on commit c675cc0

Please sign in to comment.