From 0f213819dfdc5c232017aa0ef995f3687a46c56a Mon Sep 17 00:00:00 2001 From: Tien Nguyen Date: Tue, 26 Nov 2024 01:37:18 +0700 Subject: [PATCH] test --- src/state/transactions/updater.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/state/transactions/updater.tsx b/src/state/transactions/updater.tsx index b98872c9c0..32ec463251 100644 --- a/src/state/transactions/updater.tsx +++ b/src/state/transactions/updater.tsx @@ -128,11 +128,18 @@ export default function Updater(): null { }) .catch(console.warn) + console.log('connector?.id', connector?.id) + console.log(CONNECTION.SAFE_CONNECTOR_ID) + + console.log(connector?.id === CONNECTION.SAFE_CONNECTOR_ID) + if (connector?.id === CONNECTION.SAFE_CONNECTOR_ID) { + console.log(1) appsSdk.txs.getBySafeTxHash(hash).then(tx => { console.log('tx', tx) }) } else { + console.log(2) readProvider .getTransactionReceipt(hash) .then(receipt => {