Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grey out Source when sending #7

Open
Stoner19 opened this issue Mar 22, 2019 · 0 comments
Open

Grey out Source when sending #7

Stoner19 opened this issue Mar 22, 2019 · 0 comments

Comments

@Stoner19
Copy link

Mojo wallet prevents users from using the Source address as the change address when sending, so in order to prevent the error, I propose that the Source address is greyed out so the user is unable to select it as a change address.

Error as shown:

java.lang.IllegalArgumentException: Change address must be different than source address
org.ortis.mochimo.mojo.core.wallet.Wallet.sign(Wallet.java:768)
org.ortis.mochimo.mojo.app.wallet.WalletEntryModelImpl.sign(WalletEntryModelImpl.java:80)
org.ortis.mochimo.mojo.gui.swing.tasks.SpendTask.task(SpendTask.java:110)
org.ortis.mochimo.mojo.gui.swing.tasks.AbstractGUITask.run(AbstractGUITask.java:49)
java.lang.Thread.run(Thread.java:748)

-----------------------------------------------------

Parsing payment amount
Signing transaction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant