[Wallet] Trivial cleanup of HD wallet changes

This commit is contained in:
Jonas Schnelli
2016-08-01 15:18:15 +02:00
committed by lateminer
parent 77ea5eb519
commit ea219cd59d

View File

@@ -1495,7 +1495,7 @@ CPubKey CWallet::GenerateNewHDMasterKey()
// write the key&metadata to the database
if (!AddKeyPubKey(key, pubkey))
throw std::runtime_error("CWallet::GenerateNewKey(): AddKey failed");
throw std::runtime_error(std::string(__func__)+": AddKeyPubKey failed");
}
return pubkey;