jl777 8 years ago
parent
commit
1502cc4af0
  1. 1
      crypto777/bitcoind_RPC.c
  2. 2
      iguana/dpow/dpow_fsm.c

1
crypto777/bitcoind_RPC.c

@ -61,6 +61,7 @@ char *post_process_bitcoind_RPC(char *debugstr,char *command,char *rpcstr,char *
//printf("<<<<<<<<<<< bitcoind_RPC: %s post_process_bitcoind_RPC.%s.[%s]\n",debugstr,command,rpcstr);
if ( command == 0 || rpcstr == 0 || rpcstr[0] == 0 )
{
if ( strcmp(command,"signrawtransaction") != 0 )
printf("<<<<<<<<<<< bitcoind_RPC: %s post_process_bitcoind_RPC.%s.[%s]\n",debugstr,command,rpcstr);
return(rpcstr);
}

2
iguana/dpow/dpow_fsm.c

@ -171,7 +171,7 @@ int32_t dpow_update(struct supernet_info *myinfo,struct dpow_block *bp,uint32_t
hash = srchash;
hash.uints[0] = rand();
if ( (len= dpow_rwutxobuf(1,data,&bp->hashmsg,&bp->notaries[myind])) > 0 )
dpow_send(myinfo,bp,srchash,bp->hashmsg,utxochannel,bp->height,data,len,bp->utxocrcs);
dpow_send(myinfo,bp,hash,bp->hashmsg,utxochannel,bp->height,data,len,bp->utxocrcs);
}
if ( bp->state != 0xffffffff )
{

Loading…
Cancel
Save