biter: fix ?

This commit is contained in:
nym21
2024-12-14 17:39:42 +01:00
parent 0b3329ca35
commit e0a378cb81
36 changed files with 96 additions and 116 deletions

View File

@@ -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(),
)?)