-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
/**
* Verifies the semantic of a transaction.
*
* @param inputs The inputs data.
* @param transaction The transaction payload.
* @param time The unix time for which to do the validation, should be roughly the one of the milestone that will reference the transaction.
* @returns The conflict reason.
*/
static verifyTransactionSemantic(
inputs: InputSigningData[],
transaction: TransactionPayload,
time: number,
): string {
const conflictReason = callUtilsMethod({
name: 'verifyTransactionSemantic',
data: {
inputs,
transaction,
time,
},
});
return conflictReason;
}
}