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

GetSaplingNoteWitnesses coredump #115

Closed
leto opened this issue May 29, 2020 · 3 comments
Closed

GetSaplingNoteWitnesses coredump #115

leto opened this issue May 29, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@leto
Copy link
Member

leto commented May 29, 2020

 komodod: wallet/wallet.cpp:2147: void CWallet::GetSaplingNoteWitnesses(std::vector<SaplingOutPoint>, std::vector<boost::optional<libzcash::IncrementalWitness<32, libzcash::PedersenHash> > >&, uint256&): Assertion `*rt == witnesses[i]->root()' failed.
./src/hushd: line 75: 17779 Aborted                 (core dumped) $KMD -ac_name=$NAME -ac_sapling=$SAPLING -ac_reward=$REWARD -ac_halving=$HALVING -ac_end=$END -ac_eras=$ERAS -ac_blocktime=$BLOCKTIME -ac_cc=2 -ac_ccenable=$CCENABLE -ac_founders=$FOUNDERS -ac_supply=$SUPPLY -ac_perc=$PERC -clientname=$CLIENTNAME -addnode=$NODE1 -addnode=$NODE2 -addnode=$NODE3 -addnode=$NODE4 -ac_cclib=$CCLIB -ac_script=$SCRIPT "$@"

on commit ff0ce2b of danger branch

@leto
Copy link
Member Author

leto commented Jun 19, 2020

related to #119

@leto
Copy link
Member Author

leto commented Jun 19, 2020

I refactored the code to no longer coredump, and now it ignores the issue with == not working correctly. Printing the data (stringifying it) shows that they are the same. It might be a typecasting issue, where we need to cast stuff to a string and then compare

@leto
Copy link
Member Author

leto commented Jul 9, 2020

Covered in #119

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