rpc: Fix "submit" param parsing in protx register(_fund) (#3885)

This commit is contained in:
UdjinM6 2020-12-18 20:53:25 +03:00 committed by GitHub
parent af25740477
commit 329557c8a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {