Skip to content

Commit

Permalink
test: fix TestHandleMsgTransfer
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed May 9, 2024
1 parent 23516e5 commit 5afc5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/onboarding/ibc_module_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (suite *TransferTestSuite) TestHandleMsgTransfer() {
suite.Require().Equal(coinSentFromAToB.Amount.Sub(swapAmount), sdkmath.NewIntFromBigInt(balanceErc20))

// IBC transfer to blocked address
blockedAddr := "canto10d07y265gmmuvt4z0w9aw880jnsr700jg5j4zm"
blockedAddr := "canto15jtrcjvkrtajx76zfnuf76vfnse4m4m7rhv5sc" // onboarding module
coinToSendToB = suite.chainA.GetSimApp().BankKeeper.GetBalance(suite.chainA.GetContext(), suite.chainA.SenderAccount.GetAddress(), sdk.DefaultBondDenom)
msg = types.NewMsgTransfer(path.EndpointA.ChannelConfig.PortID, path.EndpointA.ChannelID, coinToSendToB, suite.chainA.SenderAccount.GetAddress().String(), blockedAddr, timeoutHeight, 0, "")

Expand Down

0 comments on commit 5afc5c9

Please sign in to comment.