From 0a60836f687e3e08c31d8f126e787a14440626ad Mon Sep 17 00:00:00 2001 From: Denis Angell Date: Mon, 26 Jun 2023 14:06:03 -0400 Subject: [PATCH] dont check tx signature on emit details tx --- packages/xrpl/src/utils/hashes/hashLedger.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/xrpl/src/utils/hashes/hashLedger.ts b/packages/xrpl/src/utils/hashes/hashLedger.ts index 67986cf4..4317765b 100644 --- a/packages/xrpl/src/utils/hashes/hashLedger.ts +++ b/packages/xrpl/src/utils/hashes/hashLedger.ts @@ -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.') }