mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01: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:
@@ -1633,7 +1633,7 @@ RPCHelpMan walletcreatefundedpsbt()
|
|||||||
}, true
|
}, true
|
||||||
);
|
);
|
||||||
|
|
||||||
UniValue options = request.params[3];
|
UniValue options{request.params[3].isNull() ? UniValue::VOBJ : request.params[3]};
|
||||||
|
|
||||||
CAmount fee;
|
CAmount fee;
|
||||||
int change_position;
|
int change_position;
|
||||||
|
|||||||
Reference in New Issue
Block a user