Point BDK to commit that fixes overflow error

Edge cases of UTXOs where value < fee cause the BDK's `coin_select` calculation to panic.
This issue was fixed upstream thus we point the BDK dependency against the commit of the merged fix.
This commit is contained in:
Daniel Karzel 2021-04-01 16:46:39 +11:00
parent 04b49d7117
commit 0341e7c9fc
No known key found for this signature in database
GPG key ID: 30C3FC2E438ADB6E
3 changed files with 5 additions and 5 deletions

View file

@ -9,6 +9,7 @@ use bdk::database::BatchDatabase;
use bdk::descriptor::Segwitv0;
use bdk::electrum_client::{ElectrumApi, GetHistoryRes};
use bdk::keys::DerivableKey;
use bdk::wallet::AddressIndex;
use bdk::{FeeRate, KeychainKind};
use bitcoin::{Network, Script};
use reqwest::Url;
@ -255,7 +256,7 @@ where
.wallet
.lock()
.await
.get_new_address()
.get_address(AddressIndex::New)
.context("Failed to get new Bitcoin address")?;
Ok(address)