jl777 8 years ago
parent
commit
3575fd609f
  1. 2
      iguana/iguana_notary.c

2
iguana/iguana_notary.c

@ -789,7 +789,7 @@ void dpow_handler(struct supernet_info *myinfo,struct basilisk_message *msg)
{ {
if ( (bp= dpow_heightfind(myinfo,height,channel == DPOW_UTXOBTCCHANNEL)) != 0 ) if ( (bp= dpow_heightfind(myinfo,height,channel == DPOW_UTXOBTCCHANNEL)) != 0 )
{ {
vcalc_sha256(0,txid.bytes,msg->data[32],msg->datalen); vcalc_sha256(0,txid.bytes,msg->data,msg->datalen);
init_hexbytes_noT(bp->signedtx,msg->data,msg->datalen); init_hexbytes_noT(bp->signedtx,msg->data,msg->datalen);
if ( bits256_cmp(txid,srchash) == 0 ) if ( bits256_cmp(txid,srchash) == 0 )
{ {

Loading…
Cancel
Save