Merge #682: GUI: installer: don't generate multiple times the same xpub in "participate"
9d2309ea5e7ee91eb0c06777153df59249d88926 CHANGELOG: warn about v2 descriptors being possibly incompatible with v1 (Antoine Poinsot) 3a4192bfc5b36b85315e6665604e9dc2d19e0624 [bugfix] gui: installer: don't let them generate more than one xpub (Antoine Poinsot) Pull request description: This is a quick and dirty fix to be backported. Doing something like #291 could make sense in the future. ACKs for top commit: edouardparis: utACK 9d2309ea5e7ee91eb0c06777153df59249d88926 Tree-SHA512: e6e4f93a30088a53bf690ccd5b90eadb690fa575e034440b99501dbf6dd59034fa7615b04238a5940da58f618f3ecc4f67ede95906139ea562de66ae1e3bda13
This commit is contained in:
commit
4040f7e91b
@ -5,6 +5,10 @@
|
||||
This release significantly simplifies the installation of Liana. It also fixes a number of small
|
||||
bugs and glitches.
|
||||
|
||||
### Breaking changes
|
||||
|
||||
- Descriptors created with Liana v2 may not be backward compatible with Liana v1.
|
||||
|
||||
### Features
|
||||
|
||||
- We made it possible to re-use an xpub within a descriptor, so long as it uses a different
|
||||
|
||||
@ -480,17 +480,6 @@ pub fn signer_xpubs(xpubs: &Vec<String>) -> Element<Message> {
|
||||
),
|
||||
)
|
||||
}))
|
||||
})
|
||||
.push_maybe(if !xpubs.is_empty() {
|
||||
Some(
|
||||
Container::new(
|
||||
button::secondary(Some(icon::plus_icon()), "New public key")
|
||||
.on_press(Message::UseHotSigner),
|
||||
)
|
||||
.padding(10),
|
||||
)
|
||||
} else {
|
||||
None
|
||||
}),
|
||||
)
|
||||
.style(theme::Container::Card(theme::Card::Simple))
|
||||
@ -563,19 +552,6 @@ pub fn hardware_wallet_xpubs<'a>(
|
||||
),
|
||||
)
|
||||
}))
|
||||
})
|
||||
.push_maybe(if !xpubs.is_empty() {
|
||||
Some(
|
||||
Container::new(if !processing {
|
||||
button::secondary(Some(icon::plus_icon()), "New public key")
|
||||
.on_press(Message::Select(i))
|
||||
} else {
|
||||
button::secondary(Some(icon::plus_icon()), "New public key")
|
||||
})
|
||||
.padding(10),
|
||||
)
|
||||
} else {
|
||||
None
|
||||
}),
|
||||
)
|
||||
.style(theme::Container::Card(theme::Card::Simple))
|
||||
@ -642,7 +618,7 @@ pub fn participate_xpub<'a>(
|
||||
.width(Length::Fill),
|
||||
)
|
||||
.push(checkbox(
|
||||
"I have shared my public keys",
|
||||
"I have shared my extended public key",
|
||||
shared,
|
||||
Message::UserActionDone,
|
||||
))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user