Skip to content

Commit 28fd457

Browse files
committed
fixup! Add include_unsafe argument to listunspent RPC
Fix include_unsafe documentation to mention untrusted transactions.
1 parent a29b3f5 commit 28fd457

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2367,8 +2367,9 @@ UniValue listunspent(const JSONRPCRequest& request)
23672367
" ,...\n"
23682368
" ]\n"
23692369
"4. include_unsafe (bool, optional, default=true) Include outputs that are not safe to spend\n"
2370-
" because they come from transactions that are replacing other transactions or\n"
2371-
" have been replaced.\n"
2370+
" because they come from unconfirmed untrusted transactions or unconfirmed\n"
2371+
" replacement transactions (cases where we can't be sure a conflicting\n"
2372+
" transaction won't be mined).\n"
23722373
"\nResult\n"
23732374
"[ (array of json object)\n"
23742375
" {\n"

0 commit comments

Comments
 (0)