Skip to content

Commit

Permalink
fix: not needed for send_packet
Browse files Browse the repository at this point in the history
  • Loading branch information
Farhad-Shabani committed Jan 29, 2025
1 parent fcdf10b commit dd0bb5c
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ pub mod ChannelHandlerComponent {
}

fn send_packet(ref self: ComponentState<TContractState>, packet: Packet) {
self.assert_authorized_relayer();
let chan_end_on_a = self.read_channel_end(@packet.port_id_on_a, @packet.chan_id_on_a);
self.send_packet_validate(packet.clone(), chan_end_on_a.clone());
self.send_packet_execute(packet, chan_end_on_a);
Expand Down

0 comments on commit dd0bb5c

Please sign in to comment.