Browse Source

fix

blackjok3r
blackjok3r 6 years ago
parent
commit
2fa034e50a
  1. 4
      iguana/dpow/dpow_fsm.c

4
iguana/dpow/dpow_fsm.c

@ -638,7 +638,7 @@ void dpow_statemachinestart(void *ptr)
if ( dest_confs > 2 )
{
// tx is notarized. or it has 100+ raw confirms. Its now final and cannot be lost!
fprintf(stderr, "[%s] txid.%s is notarized or has 100 confirms.%d\n",dp->dest, bits256_str(str,bp->desttxid, dest_confs));
fprintf(stderr, "[%s] txid.%s is notarized or has 100 confirms.%d\n",dp->dest, bits256_str(str,bp->desttxid), dest_confs));
destnotarized = 1;
}
else if ( dest_confs == 0 )
@ -689,7 +689,7 @@ void dpow_statemachinestart(void *ptr)
// wait for approx one block before checking again.
sleep(30);
if ( destnotarized != 0 ) break;
if ( destnotarized != 0 && srcnotarized != 0 ) break;
}
// unlock the dest utxo on KMD.

Loading…
Cancel
Save