Skip to content

Commit

Permalink
report invalid roots
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Jun 18, 2020
1 parent 4800f49 commit 9bcf13b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,7 @@ void CWallet::GetSaplingNoteWitnesses(std::vector<SaplingOutPoint> notes,
//fprintf(stderr,"%s: rt=%s\n",__func__,rt.GetHash().ToString().c_str());
//fprintf(stderr,"%s: witnesses[%d]->root()=%s\n",__func__,i,witnesses[i]->root().GetHash().ToString().c_str());
// Something is fucky
std::string err = "CWallet::GetSaplingNoteWitnesses: Invalid witness root!";
std::string err = std::string("CWallet::GetSaplingNoteWitnesses: Invalid witness root! rt=") + rt.get().ToString();
throw std::logic_error(err);
}

Expand Down

0 comments on commit 9bcf13b

Please sign in to comment.