Skip to content

Commit

Permalink
fix: check-code error on concourse (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
thevaibhav-dixit authored Oct 10, 2023
1 parent fdc3379 commit 2abd655
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ fn api_client(bria_home: String, url: Option<Url>, api_key: String) -> api_clien
api_client::ApiClient::new(
bria_home,
url.map(|url| api_client::ApiClientConfig { url })
.unwrap_or_else(api_client::ApiClientConfig::default),
.unwrap_or_default(),
api_key,
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/job/sync_wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ pub async fn execute(
HashMap::new(),
|mut m, u| {
m.entry(u.utxo_detected_ledger_tx_id)
.or_insert_with(Vec::new)
.or_default()
.push(u.outpoint);
m
},
Expand Down

0 comments on commit 2abd655

Please sign in to comment.