[wallet] translate "Keypool ran out" message

This commit is contained in:
Sjors Provoost
2019-10-12 12:27:56 +02:00
parent 02fafdd12c
commit 5efc25f963
2 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ bool LegacyScriptPubKeyMan::GetNewDestination(const OutputType type, CTxDestinat
// Generate a new key that is added to wallet
CPubKey new_key;
if (!GetKeyFromPool(new_key, type)) {
error = "Error: Keypool ran out, please call keypoolrefill first";
error = _("Error: Keypool ran out, please call keypoolrefill first").translated;
return false;
}
LearnRelatedScripts(new_key, type);