Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
2539c4ba3b
  1. 2
      iguana/iguana_payments.c
  2. 4
      iguana/iguana_tx.c

2
iguana/iguana_payments.c

@ -449,7 +449,7 @@ char *iguana_rawtxissue(struct supernet_info *myinfo,uint32_t rawtxtag,char *sym
if ( rawtxtag == ptr->rawtxtag ) if ( rawtxtag == ptr->rawtxtag )
{ {
rawtx = clonestr(ptr->rawtx); rawtx = clonestr(ptr->rawtx);
printf("got RAWTX.(%s)\n",rawtx); //printf("got RAWTX.(%s)\n",rawtx);
*vinsp = ptr->vins; *vinsp = ptr->vins;
free(ptr); free(ptr);
return(rawtx); return(rawtx);

4
iguana/iguana_tx.c

@ -240,7 +240,9 @@ int32_t iguana_peerblockrequest(struct iguana_info *coin,uint8_t *blockspace,int
char str[65],str2[65]; char str[65],str2[65];
if ( counter++ < 100 ) if ( counter++ < 100 )
{ {
printf("error getting txi.%d [%d:%d] cmp.%s %s\n",i,bp->hdrsi,bundlei,bits256_str(str,checktxid),bits256_str(str2,T.txid)); for (i=0; i<len; i++)
printf("%02x",blockspace[sizeof(struct iguana_msghdr)+i]);
printf(" error getting txi.%d [%d:%d] cmp.%s %s\n",i,bp->hdrsi,bundlei,bits256_str(str,checktxid),bits256_str(str2,T.txid));
} }
break; break;
} }

Loading…
Cancel
Save