Skip to content

Commit

Permalink
fix: create shared wallet
Browse files Browse the repository at this point in the history
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
  • Loading branch information
gregdhill committed Jul 28, 2023
1 parent fe03c49 commit 48775ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ impl<Config: Clone + Send + 'static, F: Fn()> ConnectionManager<Config, F> {
// master wallet if we switch to descriptor wallets
let bitcoin_core_shared =
config_copy.new_client_with_network(Some(format!("{prefix}-shared")), network_copy)?;
bitcoin_core_shared.create_or_load_wallet().await?;

let constructor = move |vault_id: VaultId| {
let collateral_currency: CurrencyId = vault_id.collateral_currency();
Expand Down

0 comments on commit 48775ff

Please sign in to comment.