This PR provides a fix to the issue mentioned in #232.
Currently, the Load PSBT functionality works well in case a wallet is loaded but does nothing when a wallet isn’t loaded.
If a function cannot work without a wallet being loaded, it is disabled by default (It is unclickable as shown in the image).
For e.g. One cannot Close Wallet
or Backup Wallet
or Sign Messages
without a wallet being loaded. And hence they are disabled. But if you notice, Load PSBT
options are not disabled by default even when a wallet isn’t loaded.
As mentioned by hebasto in the issue description :
0<hebasto> achow101: does "File" -> "Load PSBT from {file|clipboard}" make any sense when no wallet is loaded?
1<achow101> hebasto: yes, for finalize and sending
This means Load PSBT should be working just as similar whether wallets are being loaded or not.
After making the required changes to the code, The Load PSBT works as expected even with no wallet loaded and the PSBT is finalized.
Master | PR |
---|---|
Close #232