Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Aug 30, 2024
1 parent d68263f commit d857bc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/crosschain/keeper/refund_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,12 @@ func TestKeeper_RefundAmountOnZetaChainZeta(t *testing.T) {
k, ctx, _, _ := keepertest.CrosschainKeeper(t)
k.GetAuthKeeper().GetModuleAccount(ctx, fungibletypes.ModuleName)
sender := sample.EthAddress()
chainID := getValidBtcChainID()

err := k.RefundAmountOnZetaChainZeta(ctx, types.CrossChainTx{
InboundParams: &types.InboundParams{
CoinType: coin.CoinType_Gas,
SenderChainId: 101,
SenderChainId: chainID,
Sender: sender.String(),
TxOrigin: sender.String(),
Amount: math.NewUint(20),
Expand Down

0 comments on commit d857bc7

Please sign in to comment.