|
@ -790,7 +790,9 @@ void dpow_handler(struct supernet_info *myinfo,struct basilisk_message *msg) |
|
|
} |
|
|
} |
|
|
else if ( channel == DPOW_TXIDCHANNEL || channel == DPOW_BTCTXIDCHANNEL ) |
|
|
else if ( channel == DPOW_TXIDCHANNEL || channel == DPOW_BTCTXIDCHANNEL ) |
|
|
{ |
|
|
{ |
|
|
if ( (bp= dpow_heightfind(myinfo,height,channel == DPOW_BTCTXIDCHANNEL)) != 0 && bp->state != 0xffffffff ) |
|
|
if ( (bp= dpow_heightfind(myinfo,height,channel == DPOW_BTCTXIDCHANNEL)) != 0 ) |
|
|
|
|
|
{ |
|
|
|
|
|
if ( bp->state != 0xffffffff ) |
|
|
{ |
|
|
{ |
|
|
for (i=0; i<32; i++) |
|
|
for (i=0; i<32; i++) |
|
|
srchash.bytes[i] = msg->data[i]; |
|
|
srchash.bytes[i] = msg->data[i]; |
|
@ -808,6 +810,7 @@ void dpow_handler(struct supernet_info *myinfo,struct basilisk_message *msg) |
|
|
printf("txidchannel txid %s mismatch %s (%s)\n",bits256_str(str,txid),bits256_str(str2,srchash),bp->signedtx); |
|
|
printf("txidchannel txid %s mismatch %s (%s)\n",bits256_str(str,txid),bits256_str(str2,srchash),bp->signedtx); |
|
|
bp->signedtx[0] = 0; |
|
|
bp->signedtx[0] = 0; |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
} else printf("txidchannel cant find bp for %d\n",height); |
|
|
} else printf("txidchannel cant find bp for %d\n",height); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|