diff --git a/iguana/exchanges/LP_bitcoin.c b/iguana/exchanges/LP_bitcoin.c index d47b1e452..f1c2cfc7d 100644 --- a/iguana/exchanges/LP_bitcoin.c +++ b/iguana/exchanges/LP_bitcoin.c @@ -3489,7 +3489,7 @@ bits256 bitcoin_sigtxid(char *symbol,uint8_t taddr,uint8_t pubtype,uint8_t p2sht len += iguana_rwbignum(1,&serialized[len],sizeof(outputhash),outputhash.bytes); len += iguana_rwnum(1,&serialized[len],sizeof(dest.lock_time),&dest.lock_time); len += iguana_rwnum(1,&serialized[len],sizeof(hashtype),&hashtype); - printf("B path spendamount %.8f locktime %u hashtype %d\n",dstr(spendamount),dest.lock_time,hashtype); + printf("B path spendamount %.8f locktime %u hashtype %08x\n",dstr(spendamount),dest.lock_time,hashtype); } revsigtxid = bits256_doublesha256(0,serialized,len); for (i=0; ilock_time = 0; msgtx->vins[i].sequence = 0xffffffff; strcpy(V[i].coinaddr,"19MnNLzxNTNXWUdfxpQvWK3CPwFXJbmLb8"); V[i].suppress_pubkeys = 0; @@ -682,6 +683,7 @@ char *iguana_validaterawtx(void *ctx,struct iguana_info *coin,struct iguana_msgt { V[i].spendlen = 25; decode_hex(V[i].spendscript,V[i].spendlen,"76a9146cfa0a987f4c8f2ffee7e9944ef0c86fcda9671d88ac"); + msgtx->lock_time = 0; V[i].amount = SATOSHIDEN * 0.001; strcpy(V[i].coinaddr,"1AwDWu5rZKyGMUu16gf9Kow8ohnKmc7tGH"); V[i].suppress_pubkeys = 0;