compile fix

This commit is contained in:
Duke Leto
2019-12-12 23:09:09 -05:00
parent 31416f0d96
commit 7fe2ee121c

View File

@@ -681,8 +681,7 @@ int32_t NSPV_remoterpc(struct NSPV_remoterpcresp *ptr,char *json,int n)
if (!mypk.IsValid())
throw JSONRPCError(RPC_PARSE_ERROR, "Not valid pubkey passed in remote rpc call");
}
//TODO: if ((result = cmd->actor(jreq.params,false,mypk)).isObject() || result.isArray())
if ((result = cmd->actor(jreq.params,false)).isObject() || result.isArray())
if ((result = cmd->actor(jreq.params,false,mypk)).isObject() || result.isArray())
{
rpc_result = JSONRPCReplyObj(result, NullUniValue, jreq.id);
response=rpc_result.write();