Skip to content

Commit

Permalink
add config solana
Browse files Browse the repository at this point in the history
  • Loading branch information
haunv3 committed Dec 3, 2024
1 parent 0021e57 commit b254843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/universal-swap/src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class UniversalSwapHandler {
if (tronWeb && tronWeb.defaultAddress?.base58) return tronToEthAddress(tronWeb.defaultAddress.base58);
throw generateError("Cannot find tron web to nor tron address to send to Tron network");
}
return this.config.cosmosWallet.getKeplrAddr(toChainId);
return this.config.cosmosWallet.getKeplrAddr(toChainId as CosmosChainId);
}

/**
Expand Down

0 comments on commit b254843

Please sign in to comment.