dont check tx signature on emit details tx

This commit is contained in:
Denis Angell
2023-06-26 14:06:03 -04:00
parent 2bad85b626
commit 0a60836f68

View File

@@ -83,7 +83,7 @@ export function hashSignedTx(tx: Transaction | string): string {
txObject = tx
}
if (txObject.TxnSignature === undefined && txObject.Signers === undefined) {
if (!txObject.EmitDetails && txObject.TxnSignature === undefined && txObject.Signers === undefined) {
throw new ValidationError('The transaction must be signed to hash it.')
}