[Wallet] Trivial cleanup of HD wallet changes
This commit is contained in:
committed by
lateminer
parent
77ea5eb519
commit
ea219cd59d
@@ -1495,7 +1495,7 @@ CPubKey CWallet::GenerateNewHDMasterKey()
|
|||||||
|
|
||||||
// write the key&metadata to the database
|
// write the key&metadata to the database
|
||||||
if (!AddKeyPubKey(key, pubkey))
|
if (!AddKeyPubKey(key, pubkey))
|
||||||
throw std::runtime_error("CWallet::GenerateNewKey(): AddKey failed");
|
throw std::runtime_error(std::string(__func__)+": AddKeyPubKey failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
return pubkey;
|
return pubkey;
|
||||||
|
|||||||
Reference in New Issue
Block a user