Skip to content

Commit 9bd3f03

Browse files
committed
Clarify 'fee' field in fundrawtransaction help text
Previous text could be interpreted as the the _additional_ fee paid by the result on top of the fee the original version paid, rather than the correct interpretation: the absolute fee the resulting tx pays.
1 parent cbf9609 commit 9bd3f03

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
@@ -2396,7 +2396,7 @@ UniValue fundrawtransaction(const UniValue& params, bool fHelp)
23962396
"\nResult:\n"
23972397
"{\n"
23982398
" \"hex\": \"value\", (string) The resulting raw transaction (hex-encoded string)\n"
2399-
" \"fee\": n, (numeric) The fee added to the transaction\n"
2399+
" \"fee\": n, (numeric) Fee the resulting transaction pays\n"
24002400
" \"changepos\": n (numeric) The position of the added change output, or -1\n"
24012401
"}\n"
24022402
"\"hex\" \n"

0 commit comments

Comments
 (0)