log notarisation parse errors to file

This commit is contained in:
Scott Sadler
2018-05-28 20:48:56 -03:00
parent 3fdb378291
commit f84a323950
2 changed files with 12 additions and 1 deletions

View File

@@ -24,7 +24,7 @@ NotarisationsInBlock GetNotarisationsInBlock(const CBlock &block, int nHeight)
if (ParseNotarisationOpReturn(tx, data))
vNotarisations.push_back(std::make_pair(tx.GetHash(), data));
else
fprintf(stderr, "Warning: Couldn't parse notarisation for tx: %s at height %i\n",
LogPrintf("WARNING: Couldn't parse notarisation for tx: %s at height %i\n",
tx.GetHash().GetHex().data(), nHeight);
}
}