comment added
This commit is contained in:
@@ -415,7 +415,7 @@ bool Eval::ImportCoin(const std::vector<uint8_t> params,const CTransaction &impo
|
|||||||
return Invalid("invalid-params");
|
return Invalid("invalid-params");
|
||||||
// Control all aspects of this transaction
|
// Control all aspects of this transaction
|
||||||
// It should not be at all malleable
|
// It should not be at all malleable
|
||||||
if (MakeImportCoinTransaction(proof, burnTx, payouts, importTx.nExpiryHeight).GetHash() != importTx.GetHash())
|
if (MakeImportCoinTransaction(proof, burnTx, payouts, importTx.nExpiryHeight).GetHash() != importTx.GetHash()) // ExistsImportTombstone prevents from duplication
|
||||||
return Invalid("non-canonical");
|
return Invalid("non-canonical");
|
||||||
// burn params
|
// burn params
|
||||||
if (!UnmarshalBurnTx(burnTx, targetSymbol, &targetCcid, payoutsHash, rawproof))
|
if (!UnmarshalBurnTx(burnTx, targetSymbol, &targetCcid, payoutsHash, rawproof))
|
||||||
|
|||||||
Reference in New Issue
Block a user