Browse Source

fix for notarisations in KMD more than 1 block.

pull/27/head
blackjok3r 6 years ago
parent
commit
d1e85c5128
  1. 4
      src/crosschain.cpp

4
src/crosschain.cpp

@ -69,7 +69,7 @@ uint256 CalculateProofRoot(const char* symbol, uint32_t targetCCid, int kmdHeigh
else if (seenOwnNotarisations == 2)
goto end;
fprintf(stderr, "kmd heigt notarisation added: %d\n",kmdHeight-i);
break;
//break;
}
}
@ -78,7 +78,7 @@ uint256 CalculateProofRoot(const char* symbol, uint32_t targetCCid, int kmdHeigh
if (GetSymbolAuthority(nota.second.symbol) == authority)
if (nota.second.ccId == targetCCid) {
moms.push_back(nota.second.MoM);
fprintf(stderr, "added mom: %s\n",nota.second.MoM.GetHex().data());
//fprintf(stderr, "added mom: %s\n",nota.second.MoM.GetHex().data());
}
}
}

Loading…
Cancel
Save