Browse Source

fix?

pull/27/head
blackjok3r 6 years ago
parent
commit
f46d51c08f
  1. 4
      src/cc/import.cpp
  2. 4
      src/crosschain.cpp

4
src/cc/import.cpp

@ -78,8 +78,8 @@ bool Eval::ImportCoin(const std::vector<uint8_t> params, const CTransaction &imp
uint256 momom, target;
if (!GetProofRoot(proof.first, momom))
return Invalid("coudnt-load-momom");
printf("IMPORT momom: %s\n", momom.GetHex().data());
fprintf(stderr,"IMPORT momom: %s\nKMD TX HASH: %s\n", momom.GetHex().data(),proof.first.GetHex().data());
target = proof.second.Exec(burnTx.GetHash());
if (momom != proof.second.Exec(burnTx.GetHash()))

4
src/crosschain.cpp

@ -166,10 +166,6 @@ 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/momom_on_kmd", "a+");
fprintf(fptr, "%s\n", MoMoM.GetHex().data());
fclose(fptr);
// Find index of source MoM in MoMoM
int nIndex;

Loading…
Cancel
Save