We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b06476 commit b6af1d0Copy full SHA for b6af1d0
packages/currency/src/chains/ChainsAbstract.ts
@@ -13,7 +13,7 @@ export abstract class ChainsAbstract<
13
chains: Record<CHAIN_NAME, CHAIN>,
14
currencyType: RequestLogicTypes.CURRENCY.ETH | RequestLogicTypes.CURRENCY.BTC,
15
) {
16
- this.chains = chains;
+ this.chains = structuredClone(chains);
17
this.chainNames = Object.keys(chains) as CHAIN_NAME[];
18
this.addNativeCurrenciesToChains(currencyType);
19
}
0 commit comments