fix spend detail: wrong check ready

This commit is contained in:
edouard 2023-02-06 14:33:11 +01:00
parent cee3b32f4f
commit 4c683993bc

View File

@ -392,7 +392,7 @@ pub fn signatures<'a>(
Container::new(
Row::new()
.push(Space::with_width(Length::Fill))
.push_maybe(if tx.path_ready().is_some() {
.push_maybe(if tx.path_ready().is_none() {
Some(
button::primary(None, "Sign")
.on_press(Message::Spend(SpendTxMessage::Sign))