Skip to content

Commit

Permalink
fix: wrong chainID of obridge in build msg swap
Browse files Browse the repository at this point in the history
  • Loading branch information
trung2891 committed Oct 5, 2024
1 parent 14883e4 commit 3e7112c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/universal-swap/src/msg/msgs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const buildMemoSwap = (
switch (currentChain) {
case "Oraichain": {
let prefix = getDestPrefixForBridgeToEvmOnOrai(path.tokenOutChainId);
let oBridgeAddress = addresses["OraiBridge"];
let oBridgeAddress = addresses["oraibridge-subnet-2"];
let oraichainMsg = new OraichainMsg(path, "1", receiver, currentAddress, memo, prefix, oBridgeAddress);
oraichainMsg.setMinimumReceiveForSwap(slippage);
// we have 2 cases:
Expand Down

0 comments on commit 3e7112c

Please sign in to comment.