try print momom to file

This commit is contained in:
blackjok3r
2018-09-27 21:38:00 +08:00
parent 97a59fc2c6
commit 985808cbb4
2 changed files with 9 additions and 1 deletions

View File

@@ -163,6 +163,10 @@ TxProof GetCrossChainProof(const uint256 txid, const char* targetSymbol, uint32_
throw std::runtime_error("No MoMs found");
printf("[%s] GetCrossChainProof MoMoM: %s\n", targetSymbol,MoMoM.GetHex().data());
FILE * fptr;
fptr = fopen("/home/cc/acmomom", "a+");
fprintf(fptr, "%s\n", MoMoM.GetHex().data());
fclose(fptr);
// Find index of source MoM in MoMoM
int nIndex;