Skip to content

Commit

Permalink
update base-goerli userOP txn link
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Dec 26, 2023
1 parent 16161c9 commit 7066029
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nextjs/utils/scaffold-eth/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ export function getUserOpExplorerTxLink(chainId: number, txnHash: string) {
}

const targetChain = targetChainArr[0] as keyof typeof chains;
if (chains[targetChain].id === chains.baseGoerli.id)
return `https://app.jiffyscan.xyz/userOpHash/${txnHash}?network=base-testnet`;
return `https://app.jiffyscan.xyz/userOpHash/${txnHash}?network=${chains[targetChain].network}`;
}

Expand Down

0 comments on commit 7066029

Please sign in to comment.