Skip to content

Commit

Permalink
chore: refactor unwrappable
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Jan 17, 2024
1 parent 6729a52 commit 4dd1696
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,10 @@ export function unwrappable(
({ id }) => id === asset
);

if (destAsset?.module === "evm" && destAsset.isERC20WrappedNativeGasToken) {
return true;
}

return false;
return destAsset?.module === "evm" && destAsset.isERC20WrappedNativeGasToken;
}

export async function getActiveChains(
environment: Environment
// chainConfigs: ChainConfig[]
) {
export async function getActiveChains(environment: Environment) {
const axelarQueryClient = await createAxelarQueryClient(
AXELAR_RPC_URLS[environment]
);
Expand Down

0 comments on commit 4dd1696

Please sign in to comment.