mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-05 11:49:09 -07:00
biter: fix ?
This commit is contained in:
@@ -12,11 +12,8 @@ fn create_rpc(config: &Config) -> color_eyre::Result<Client> {
|
||||
Ok(Client::new(
|
||||
&format!(
|
||||
"http://{}:{}",
|
||||
config
|
||||
.rpcconnect
|
||||
.as_ref()
|
||||
.unwrap_or(&"localhost".to_owned()),
|
||||
config.rpcport.unwrap_or(8332)
|
||||
config.rpcconnect().unwrap_or(&"localhost".to_owned()),
|
||||
config.rpcport().unwrap_or(8332)
|
||||
),
|
||||
config.to_rpc_auth().unwrap(),
|
||||
)?)
|
||||
|
||||
Reference in New Issue
Block a user