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.
RpcClient::new
1 parent a1c6c4c commit d6b3520Copy full SHA for d6b3520
src/chain/bitcoind_rpc.rs
@@ -38,10 +38,7 @@ impl BitcoindRpcClient {
38
let rpc_credentials =
39
BASE64_STANDARD.encode(format!("{}:{}", rpc_user.clone(), rpc_password.clone()));
40
41
- let rpc_client = Arc::new(
42
- RpcClient::new(&rpc_credentials, http_endpoint)
43
- .expect("RpcClient::new is actually infallible"),
44
- );
+ let rpc_client = Arc::new(RpcClient::new(&rpc_credentials, http_endpoint));
45
46
let latest_mempool_timestamp = AtomicU64::new(0);
47
0 commit comments