[rpc] fundrawtransaction, walletcreatefundedpsbt lock manually selected coins

Previously only automatically selected coins were locked when lockUnspents is set.
It now also locks selected coins.
This commit is contained in:
Sjors Provoost
2020-08-07 13:53:51 +02:00
parent 4b705b1c98
commit 6d1f51343c
5 changed files with 32 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
Updated RPCs
------------
- `fundrawtransaction` and `walletcreatefundedpsbt` when used with the `lockUnspents`
argument now lock manually selected coins, in addition to automatically selected
coins. Note that locked coins are never used in automatic coin selection, but
can still be manually selected.