diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index c0f449a56..4581dae00 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1733,7 +1733,7 @@ void CWallet::GetSaplingNoteWitnesses(std::vector 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); }