From 62e8563f7a3e1f12aef3eb61b04bf5b069e0ad86 Mon Sep 17 00:00:00 2001 From: yito88 Date: Wed, 18 May 2022 18:11:07 +0200 Subject: [PATCH] fix IBC token VP for ack error --- shared/src/ledger/ibc/vp/token.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shared/src/ledger/ibc/vp/token.rs b/shared/src/ledger/ibc/vp/token.rs index 6de63e24eb4..2cbadf830df 100644 --- a/shared/src/ledger/ibc/vp/token.rs +++ b/shared/src/ledger/ibc/vp/token.rs @@ -102,6 +102,9 @@ where Ics26Envelope::Ics4PacketMsg(PacketMsg::RecvPacket(msg)) => { self.validate_receiving_token(&msg.packet) } + Ics26Envelope::Ics4PacketMsg(PacketMsg::AckPacket(msg)) => { + self.validate_refunding_token(&msg.packet) + } Ics26Envelope::Ics4PacketMsg(PacketMsg::ToPacket(msg)) => { self.validate_refunding_token(&msg.packet) }