Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tienkane committed Nov 25, 2024
1 parent b7598c0 commit 0f21381
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/state/transactions/updater.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 0f21381

Please sign in to comment.