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

Cache ephemeral utxo values #45

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Cache ephemeral utxo values #45

merged 2 commits into from
Apr 16, 2024

Conversation

peterjan
Copy link
Member

@peterjan peterjan commented Apr 16, 2024

Not 100% sure here but I think it's ok to do this. If we ignore all ephemeral elements and thus don't cache their utxo value, I run into the panic on line 194 where we're calculating the total inflow.

@peterjan peterjan self-assigned this Apr 16, 2024
@peterjan peterjan marked this pull request as ready for review April 16, 2024 12:08
wallet/update.go Outdated Show resolved Hide resolved
@lukechampine
Copy link
Member

looks fine to me (irrespective of Nate's proposed change)

lukechampine
lukechampine previously approved these changes Apr 16, 2024
@n8maninger n8maninger merged commit c7958e8 into master Apr 16, 2024
8 checks passed
@n8maninger n8maninger deleted the pj/fix-utxo-values branch April 16, 2024 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants