From 4846a0b05a9ea32d1fd3bb7852b3b74cee99daeb Mon Sep 17 00:00:00 2001 From: jp1ac4 <121959000+jp1ac4@users.noreply.github.com> Date: Wed, 6 Dec 2023 19:31:29 +0000 Subject: [PATCH] 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`. --- gui/Cargo.lock | 7 ++++--- gui/src/daemon/embedded.rs | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gui/Cargo.lock b/gui/Cargo.lock index b2e91f49..b150df96 100644 --- a/gui/Cargo.lock +++ b/gui/Cargo.lock @@ -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", diff --git a/gui/src/daemon/embedded.rs b/gui/src/daemon/embedded.rs index 57367adc..02b5ccf8 100644 --- a/gui/src/daemon/embedded.rs +++ b/gui/src/daemon/embedded.rs @@ -89,7 +89,7 @@ impl Daemon for EmbeddedDaemon { feerate_vb: u64, ) -> Result { 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()),