Merge #330: fix spend detail: wrong check ready

4c683993bc32616c0506528dec6f497f32f7c933 fix spend detail: wrong check ready (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 4c683993bc32616c0506528dec6f497f32f7c933

Tree-SHA512: d1a336ead055412fbfa08c7c0931b3e9788430e7002d49237f6f115afec3e300c793cc29bcf49c17851a8f75e7a5a6c9c7fded6bc10a7c45a1b1d61e97b0b515
This commit is contained in:
edouard 2023-02-06 14:51:58 +01:00
commit 698dd4a405
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F

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))