From 2e58a1533d19e1c16dcb9ae2e3c5f916ae3df4ab Mon Sep 17 00:00:00 2001 From: Tal Derei Date: Sun, 22 Dec 2024 01:06:05 -0800 Subject: [PATCH] appease linter --- packages/services/src/view-service/transaction-info-by-hash.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/services/src/view-service/transaction-info-by-hash.ts b/packages/services/src/view-service/transaction-info-by-hash.ts index d81866a20..f0f63adaa 100644 --- a/packages/services/src/view-service/transaction-info-by-hash.ts +++ b/packages/services/src/view-service/transaction-info-by-hash.ts @@ -31,8 +31,7 @@ export const transactionInfoByHash: Impl['transactionInfoByHash'] = async (req, ); // Invoke a higher-level translator on the transaction view. - let view = txv; - view = await txvTranslator(view); + const view = txvTranslator(txv); const txInfo = new TransactionInfo({ height, id: req.id, transaction, perspective, view }); return { txInfo };