SeedSigner / seedsigner

Use an air-gapped Raspberry Pi Zero to sign for Bitcoin transactions! (and do other cool stuff)
MIT License
721 stars 168 forks source link

Message signing network mismatch bugfix; `OptionDisabledView` bugfix #443

Closed kdmukai closed 1 year ago

kdmukai commented 1 year ago

Message signing was already checking for "Network Mismatch" if a user was configured for MAINNET in Settings but scanned in a signmessage QR with a TESTNET/REGTEST derivation path specified.

However, it was not checking the opposite: Settings configured for TESTNET or REGTEST but scan in a signmessage QR for MAINNET.

Second bug: When message signing is disabled in Settings, the OptionDisabledView appears but then did not return any values, resulting in a second error screen.

This PR:


OptionDisabledView

newtonick commented 1 year ago

ACK and tested