Merge branch 'momom_printsonly' into master

This commit is contained in:
blackjok3rtt
2018-10-31 12:05:38 +08:00
committed by GitHub
5 changed files with 40 additions and 31 deletions

View File

@@ -79,7 +79,11 @@ bool Eval::ImportCoin(const std::vector<uint8_t> params, const CTransaction &imp
if (!GetProofRoot(proof.first, momom))
return Invalid("coudnt-load-momom");
printf("IMPORT momom: %s\n", momom.GetHex().data());
fprintf(stderr,"IMPORT momom: %s\n", momom.GetHex().data());
FILE * fptr;
fptr = fopen("/home/cc/kmdmomom", "a+");
fprintf(fptr, "%s\n", momom.GetHex().data());
fclose(fptr);
target = proof.second.Exec(burnTx.GetHash());
if (momom != proof.second.Exec(burnTx.GetHash()))