bump liana:master

This commit is contained in:
edouard 2022-12-08 11:06:35 +01:00
parent d385e99726
commit 9fa3cde299
4 changed files with 6 additions and 6 deletions

6
gui/Cargo.lock generated
View File

@ -1646,7 +1646,7 @@ dependencies = [
[[package]]
name = "liana"
version = "0.0.1"
source = "git+https://github.com/revault/liana?branch=master#38e342c8cd4c7d5d9d497013aa466fe62c0e3a4b"
source = "git+https://github.com/revault/liana?branch=master#d385e99726733851da9101557cf2dfcbe4c2a2a0"
dependencies = [
"backtrace",
"base64",
@ -1902,8 +1902,8 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]]
name = "miniscript"
version = "8.0.0"
source = "git+https://github.com/darosior/rust-miniscript?branch=multipath_descriptors_on_8.0#a63d5a263a9006b4d29342012133a3bc919765ba"
version = "9.0.0"
source = "git+https://github.com/darosior/rust-miniscript?branch=multipath_descriptors_on_9.0#3104519501ce6ad15b36dcec759936f4d3bd3980"
dependencies = [
"bitcoin",
"serde",

View File

@ -119,7 +119,7 @@ impl App {
self.cache.spend_txs = txs.clone();
}
Message::Info(Ok(info)) => {
self.cache.blockheight = info.blockheight;
self.cache.blockheight = info.block_height;
self.cache.rescan_progress = info.rescan_progress;
}
Message::StartRescan(Ok(())) => {

View File

@ -288,7 +288,7 @@ impl ChooseCoins {
};
// nValue size + scriptPubKey CompactSize + OP_0 + PUSH32 + <wit program>
const CHANGE_TXO_SIZE: usize = 8 + 1 + 1 + 1 + 32;
let satisfaction_vsize = cfg.main_descriptor.change_descriptor().max_sat_weight() / 4;
let satisfaction_vsize = cfg.main_descriptor.max_sat_weight() / 4;
let transaction_size =
tx_template.vsize() + satisfaction_vsize * tx_template.input.len() + CHANGE_TXO_SIZE;

View File

@ -164,7 +164,7 @@ impl Application for GUI {
if let loader::Message::Synced(info, coins, spend_txs, daemon) = *msg {
let cache = Cache {
network: daemon.config().bitcoin_config.network,
blockheight: info.blockheight,
blockheight: info.block_height,
coins,
spend_txs,
..Default::default()