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

Incorrect "CWallet::GetSaplingNoteWitnesses: Invalid witness root!" exception #119

Open
leto opened this issue Jun 19, 2020 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@leto
Copy link
Member

leto commented Jun 19, 2020

this is from CWallet::GetSaplingNoteWitnesses in src/wallet/wallet.cpp .

It seems that removing some Sprout code has messed up the == operator for SaplingNotes, so we currently just print to STDERR instead of throwing a logic_error. Upstream ZEC will coredump at run-time with an assert.

This should be fixed correctly so this line of code works as intended:

1732                if(*rt == witnesses[i]->root()) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant