Skip to content

Commit

Permalink
fix: ica controller middleware error typo (cosmos#1419)
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Rodriguez <[email protected]>
  • Loading branch information
hea9549 and crodriguezvega authored May 25, 2022
1 parent 1acb3cc commit 25767f6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,12 @@ func (im IBCMiddleware) OnTimeoutPacket(
}

// SendPacket implements the ICS4 Wrapper interface
// The ICA controller module builds the outgoing ICA packet and calls the core IBC SendPacket
func (im IBCMiddleware) SendPacket(
ctx sdk.Context,
chanCap *capabilitytypes.Capability,
packet ibcexported.PacketI,
) error {
panic("SendPacket not supported for ICA-auth module. Please use SendTx")
panic("SendPacket not supported for ICA controller module. Please use SendTx")
}

// WriteAcknowledgement implements the ICS4 Wrapper interface
Expand Down

0 comments on commit 25767f6

Please sign in to comment.