Skip to content

Commit

Permalink
Enable testing investments with Sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn committed Mar 27, 2024
1 parent 0f02915 commit 78773a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion centrifuge-js/src/modules/liquidityPools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export function getLiquidityPoolsModule(inst: Centrifuge) {
if (currencyAddress.toLowerCase() === '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48') {
// USDC has custom version
domainOrCurrency = { name: 'USD Coin', version: '2', chainId, verifyingContract: currencyAddress }
} else if (chainId === 5 || chainId === 84531 || chainId === 421613) {
} else if (chainId === 5 || chainId === 84531 || chainId === 421613 || chainId === 11155111) {
// Assume on testnets the LP currencies are used which have custom domains
domainOrCurrency = { name: 'Centrifuge', version: '1', chainId, verifyingContract: currencyAddress }
}
Expand Down

0 comments on commit 78773a9

Please sign in to comment.