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:
MacroFake 2022-07-06 11:56:43 +02:00
parent 31c6309cc6
commit ccccc17b91
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

View File

@ -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;