Browse Source

compile fix

sietch
Duke Leto 5 years ago
parent
commit
7fe2ee121c
  1. 3
      src/komodo_nSPV_fullnode.h

3
src/komodo_nSPV_fullnode.h

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

Loading…
Cancel
Save