Fix outdated keypool size default

This commit is contained in:
Samuel Dobson
2021-09-26 11:37:53 +13:00
parent 22cc797ca5
commit 2434b10781

View File

@@ -1853,7 +1853,7 @@ static RPCHelpMan keypoolrefill()
"\nFills the keypool."+
HELP_REQUIRING_PASSPHRASE,
{
{"newsize", RPCArg::Type::NUM, RPCArg::Default{100}, "The new keypool size"},
{"newsize", RPCArg::Type::NUM, RPCArg::DefaultHint{strprintf("%u, or as set by -keypool", DEFAULT_KEYPOOL_SIZE)}, "The new keypool size"},
},
RPCResult{RPCResult::Type::NONE, "", ""},
RPCExamples{