mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-06 14:19:59 -05:00
refactor: Default options in walletcreatefundedpsbt to VOBJ instead of VNULL
This should not change behavior and makes the code consistent with other places.
This commit is contained in:
parent
31c6309cc6
commit
ccccc17b91
1 changed files with 1 additions and 1 deletions
|
@ -1633,7 +1633,7 @@ RPCHelpMan walletcreatefundedpsbt()
|
|||
}, true
|
||||
);
|
||||
|
||||
UniValue options = request.params[3];
|
||||
UniValue options{request.params[3].isNull() ? UniValue::VOBJ : request.params[3]};
|
||||
|
||||
CAmount fee;
|
||||
int change_position;
|
||||
|
|
Loading…
Add table
Reference in a new issue