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 how leafdatas are fetched #180

Conversation

kcalvinalvin
Copy link
Contributor

When the mempool didn't have caching built in, it used to have the full udata attached to the tx. But since this is not the case anymore, watchonly wallet panics as it tries to access something that no longer exists.

We change the code to fetch the leafdatas from the mempool directly as it can now be fetched from there.

When the mempool didn't have caching built in, it used to have the full
udata attached to the tx. But since this is not the case anymore,
watchonly wallet panics as it tries to access something that no longer
exists.

We change the code to fetch the leafdatas from the mempool directly as
it can now be fetched from there.
@kcalvinalvin kcalvinalvin merged commit 561a5d1 into utreexo:main May 7, 2024
4 checks passed
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

1 participant