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 7dde7be commit 1f4319aCopy full SHA for 1f4319a
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