Browse Source

fix file log

blackjok3r
blackjok3r 6 years ago
parent
commit
a9b7458bef
  1. 7
      iguana/dpow/dpow_tx.c

7
iguana/dpow/dpow_tx.c

@ -652,13 +652,6 @@ void dpow_sigscheck(struct supernet_info *myinfo,struct dpow_info *dp,struct dpo
} else } else
{ {
bp->srctxid = txid; bp->srctxid = txid;
#ifdef LOGTX
FILE * fptr;
fptr = fopen("/home/node/complete_notarizations", "a+");
// SRC SRC_TXID DEST DEST_TXID HEIGHT
fprintf(fptr, "%s %s %s\n", bp->srccoin->symbol,bp->srctxid,bp->destcoin->symbol,bp->desttxid,bp->height);
fclose(fptr);
#endif
} }
len = (int32_t)strlen(bp->signedtx) >> 1; len = (int32_t)strlen(bp->signedtx) >> 1;
decode_hex(txdata+32,len,bp->signedtx); decode_hex(txdata+32,len,bp->signedtx);

Loading…
Cancel
Save