Skip to content

Commit 2434b10

Browse files
committed
Fix outdated keypool size default
1 parent 22cc797 commit 2434b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1853,7 +1853,7 @@ static RPCHelpMan keypoolrefill()
18531853
"\nFills the keypool."+
18541854
HELP_REQUIRING_PASSPHRASE,
18551855
{
1856-
{"newsize", RPCArg::Type::NUM, RPCArg::Default{100}, "The new keypool size"},
1856+
{"newsize", RPCArg::Type::NUM, RPCArg::DefaultHint{strprintf("%u, or as set by -keypool", DEFAULT_KEYPOOL_SIZE)}, "The new keypool size"},
18571857
},
18581858
RPCResult{RPCResult::Type::NONE, "", ""},
18591859
RPCExamples{

0 commit comments

Comments
 (0)