update
This commit is contained in:
@@ -180,14 +180,14 @@ bool Eval::CheckNotaryInputs(const CTransaction &tx, uint32_t height, uint32_t t
|
||||
return CheckTxAuthority(tx, auth);
|
||||
}
|
||||
|
||||
// Get MoM from a notarisation tx hash (on HUSH)
|
||||
// Get MoM from a notarization tx hash (on HUSH)
|
||||
bool Eval::GetNotarizationData(const uint256 notaryHash, NotarizationData &data) const
|
||||
{
|
||||
CTransaction notarisationTx;
|
||||
CTransaction notarizationTx;
|
||||
CBlockIndex block;
|
||||
if (!GetTxConfirmed(notaryHash, notarisationTx, block)) return false;
|
||||
if (!CheckNotaryInputs(notarisationTx, block.GetHeight(), block.nTime)) return false;
|
||||
if (!ParseNotarizationOpReturn(notarisationTx, data)) return false;
|
||||
if (!GetTxConfirmed(notaryHash, notarizationTx, block)) return false;
|
||||
if (!CheckNotaryInputs(notarizationTx, block.GetHeight(), block.nTime)) return false;
|
||||
if (!ParseNotarizationOpReturn(notarizationTx, data)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -205,7 +205,7 @@ std::string Eval::GetAssetchainsSymbol() const
|
||||
|
||||
|
||||
/*
|
||||
* Notarization data, ie, OP_RETURN payload in notarisation transactions
|
||||
* Notarization data, ie, OP_RETURN payload in notarization transactions
|
||||
*/
|
||||
bool ParseNotarizationOpReturn(const CTransaction &tx, NotarizationData &data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user