Skip to content

Commit

Permalink
Fix transfer module packet acknowledgement execution
Browse files Browse the repository at this point in the history
  • Loading branch information
keppel committed Jan 24, 2025
1 parent c1c7a04 commit 115a8e9
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/ibc/transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,11 +445,19 @@ impl Module for Transfer {

fn on_acknowledgement_packet_execute(
&mut self,
_packet: &Packet,
_acknowledgement: &Acknowledgement,
_relayer: &Signer,
packet: &Packet,
acknowledgement: &Acknowledgement,
relayer: &Signer,
) -> (ModuleExtras, Result<(), PacketError>) {
(ModuleExtras::empty(), Ok(()))
let (extras, res) =
on_acknowledgement_packet_execute(self, packet, acknowledgement, relayer);

(
extras,
res.map_err(|e| PacketError::AppModule {
description: e.to_string(),
}),
)
}

fn on_timeout_packet_validate(
Expand Down

0 comments on commit 115a8e9

Please sign in to comment.