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

Fix for #2169 #2170

Merged
merged 2 commits into from
Dec 17, 2018
Merged

Fix for #2169 #2170

merged 2 commits into from
Dec 17, 2018

Conversation

yeastplume
Copy link
Member

fixes #2169, (only affecting self-send via the http api)

} else {
vec![]
}
wallet.tx_log_iter().filter(|t| t.id == id).collect()
Copy link
Member

Choose a reason for hiding this comment

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

Oh... there's 2 txs in the tx log here for a self send right?
👍

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. The receive tx ends up with a lower ID in the self-send via http case, and previous short circuit find was just returning the first matching TX it found, which is a recieve tx. The finalize is explicitly looking for a send tx.

@yeastplume yeastplume merged commit fcec70d into mimblewimble:master Dec 17, 2018
@yeastplume yeastplume deleted the tx_fix branch January 2, 2019 12:06
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.

"wallet send" failing with "transaction does not exist"
2 participants