Skip to content

Commit

Permalink
watcher: fix comparison bug
Browse files Browse the repository at this point in the history
  • Loading branch information
panoel committed Nov 19, 2024
1 parent d8ef1e3 commit beb6118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watcher/src/watchers/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function makeFinalizedNTTWatcher(network: Network, chainName: Chain): Wat
`Attempted to create finalized NTT watcher for unsupported mainnet chain ${chainName}`
);
}
} else if ('Testnet') {
} else if (network === 'Testnet') {
// These are testnet only chains
if (chainName === 'Sepolia' || chainName === 'Holesky') {
return new NTTWatcher(network, chainName, 'finalized');
Expand Down

0 comments on commit beb6118

Please sign in to comment.