jl777 8 years ago
parent
commit
f921b11f7e
  1. 6
      basilisk/basilisk_swap.c

6
basilisk/basilisk_swap.c

@ -318,10 +318,10 @@ int32_t basilisk_rawtx_spendscript(struct supernet_info *myinfo,int32_t height,s
for (i=0; i<rawtx->datalen; i++) for (i=0; i<rawtx->datalen; i++)
printf("%02x",rawtx->txbytes[i]); printf("%02x",rawtx->txbytes[i]);
printf(" <- rawtx\n"); printf(" <- rawtx\n");
printf("%s rawtx data compare error, len %d vs %d\n",rawtx->name,rawtx->datalen,datalen); printf("%s rawtx data compare error, len %d vs %d <<<<<<<<<< warning\n",rawtx->name,rawtx->datalen,datalen);
return(-1); //return(-1);
} }
if ( (txobj= bitcoin_data2json(rawtx->coin,height,&rawtx->signedtxid,&rawtx->msgtx,rawtx->extraspace,sizeof(rawtx->extraspace),rawtx->txbytes,rawtx->datalen,0,suppress_pubkeys)) != 0 ) if ( (txobj= bitcoin_data2json(rawtx->coin,height,&rawtx->signedtxid,&rawtx->msgtx,rawtx->extraspace,sizeof(rawtx->extraspace),data,datalen,0,suppress_pubkeys)) != 0 )
{ {
rawtx->actualtxid = rawtx->signedtxid; rawtx->actualtxid = rawtx->signedtxid;
char str[65]; printf("got txid.%s\n",bits256_str(str,rawtx->signedtxid)); char str[65]; printf("got txid.%s\n",bits256_str(str,rawtx->signedtxid));

Loading…
Cancel
Save