Closed jim618 closed 8 years ago
This IllegalArgumentException is most likely caused by the check in TransactionOutput that the amount if >=0 (note the equality check). In EmptyWalletWizardModel a value of zero is set if no amount is available.
I have added a check into EmptyWalletWizardModel.prepareTransaction so that an event is thrown if there is no bitcoin in the wallet and the prepareWallet fails. This should traverse the user to the report screen. I couldn't replicate this error so this is a probabilistic fix.
Awaiting review and closing
Pushed a change to fix an NPE in the event creation.
If you now try to empty an already empty wallet you now get this screenshot:
Awaiting review and closing
Verified working. Closing.