Skip to content

Commit

Permalink
use bank.
Browse files Browse the repository at this point in the history
  • Loading branch information
RustNinja committed May 22, 2024
1 parent 99eb137 commit 1e9175d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom/custompfm/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (im IBCMiddleware) OnRecvPacket(
if token.Amount.GTE(result.Fee.Amount) {
token = token.SubAmount(result.Fee.Amount)
} else {
//bank.send..........
// send_err := im.bank.SendCoins(ctx, msgSender, feeAddress, sdk.NewCoins(charge_coin))
ack := channeltypes.NewResultAcknowledgement([]byte{byte(1)}) //??????
return ack
// logger.Error("fee is greater than the amount", "error")
Expand Down

0 comments on commit 1e9175d

Please sign in to comment.