mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
rpc: Fix "submit" param parsing in protx register(_fund)
(#3885)
This commit is contained in:
parent
af25740477
commit
329557c8a9
@ -508,7 +508,7 @@ UniValue protx_register(const JSONRPCRequest& request)
|
||||
|
||||
bool fSubmit{true};
|
||||
if ((isExternalRegister || isFundRegister) && !request.params[paramIdx + 7].isNull()) {
|
||||
fSubmit = request.params[paramIdx + 7].get_bool();
|
||||
fSubmit = ParseBoolV(request.params[paramIdx + 7], "submit");
|
||||
}
|
||||
|
||||
if (isFundRegister) {
|
||||
|
Loading…
Reference in New Issue
Block a user