gui: update liana dependency

This is needed to use the `rbfpsbt` command.

Now, `create_spend` has an additional parameter
for change address, which we leave as `None`.
This commit is contained in:
jp1ac4 2023-12-06 19:31:29 +00:00
parent 6151c57af4
commit 4846a0b05a
No known key found for this signature in database
GPG Key ID: A7ACD32423568D7B
2 changed files with 5 additions and 4 deletions

7
gui/Cargo.lock generated
View File

@ -254,8 +254,9 @@ dependencies = [
[[package]]
name = "bdk_coin_select"
version = "0.1.0"
source = "git+https://github.com/evanlinjin/bdk?branch=new_bdk_coin_select#2a06d73ac7a5dca933b19b51078f5279691364ed"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0320167c3655e83f0415d52f39618902e449186ffc7dfb090f922f79675c316"
[[package]]
name = "bech32"
@ -2430,7 +2431,7 @@ dependencies = [
[[package]]
name = "liana"
version = "2.0.0"
source = "git+https://github.com/wizardsardine/liana?branch=master#514535d8d6fec705c7271241f68276c42b918150"
source = "git+https://github.com/wizardsardine/liana?branch=master#6151c57af492dacc8502b0ea1ec1cd04580e08dc"
dependencies = [
"backtrace",
"bdk_coin_select",

View File

@ -89,7 +89,7 @@ impl Daemon for EmbeddedDaemon {
feerate_vb: u64,
) -> Result<CreateSpendResult, DaemonError> {
self.control()?
.create_spend(destinations, coins_outpoints, feerate_vb)
.create_spend(destinations, coins_outpoints, feerate_vb, None)
.map_err(|e| match e {
CommandError::CoinSelectionError(_) => DaemonError::CoinSelectionError,
e => DaemonError::Unexpected(e.to_string()),