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

wallet: fix pre-rct cold wallet signing not splitting change #1261

Merged
merged 2 commits into from
Oct 29, 2016

Conversation

moneromooo-monero
Copy link
Collaborator

Re-creating the transaction on the cold wallet was not splitting
the change, causing the transaction to be rejected by the network.
This worked on testnet since amounts do not have to be split.

@moneromooo-monero
Copy link
Collaborator Author

Actually, wait a bit, I'll replace with some more stuff (and bump version)

@ghost
Copy link

ghost commented Oct 25, 2016

Hate to be this guy, but the past participle of 'to split' is 'split' rather than 'splitted'.

English makes no sense...

Re-creating the transaction on the cold wallet was not splitting
the change, causing the transaction to be rejected by the network.
This worked on testnet since amounts do not have to be split.

Also add selected_transfers, which can now be saved since they're
size_t rather than iterators. This allows the view wallet to
properly set the sent outputs as spent and update balance.

Bump transfer file version numbers to match.
@moneromooo-monero
Copy link
Collaborator Author

done

@moneromooo-monero
Copy link
Collaborator Author

split, splat, splut ?

@moneromooo-monero
Copy link
Collaborator Author

Hmm, that's used in many other places, so it'll have to stay that way.
But yes, good point :P

moneroexamples added a commit to moneroexamples/onion-monero-blockchain-explorer that referenced this pull request Oct 26, 2016
Not as trustworthy as this is in the view wallet, the one
that's considered compromised.
@moneromooo-monero
Copy link
Collaborator Author

Small update, I'd forgot to add a file to the commit (the one that actually logs the tx).

Copy link
Contributor

@fluffypony fluffypony left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed

@fluffypony fluffypony merged commit 069d688 into monero-project:master Oct 29, 2016
fluffypony added a commit that referenced this pull request Oct 29, 2016
069d688 simplewallet: log transactions to submit in submit_transfer (moneromooo-monero)
31abac4 wallet: fix pre-rct cold wallet signing not splitting change (moneromooo-monero)
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

Successfully merging this pull request may close these issues.

None yet

2 participants