Skip to content

Commit

Permalink
fix IBC token VP for ack error
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Jul 11, 2022
1 parent dae0758 commit 62e8563
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shared/src/ledger/ibc/vp/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 62e8563

Please sign in to comment.