Disp relay tx
This commit is contained in:
@@ -214,7 +214,10 @@ int32_t NSPV_sendrawtransaction(struct NSPV_broadcastresp *ptr,uint8_t *data,int
|
||||
if ( myAddtomempool(tx) != 0 )
|
||||
ptr->retcode = 1;
|
||||
else ptr->retcode = 0;
|
||||
//fprintf(stderr,"relay transaction %s retcode.%d\n",ptr->txid.GetHex().c_str(),ptr->retcode);
|
||||
int32_t i;
|
||||
for (i=0; i<n; i++)
|
||||
fprintf(stderr,"%02x",data[i]);
|
||||
fprintf(stderr," relay transaction %s retcode.%d\n",ptr->txid.GetHex().c_str(),ptr->retcode);
|
||||
RelayTransaction(tx);
|
||||
} else ptr->retcode = -1;
|
||||
return(sizeof(*ptr));
|
||||
|
||||
Reference in New Issue
Block a user