Skip to content

Commit

Permalink
Update testing/endpoint_v2.go
Browse files Browse the repository at this point in the history
Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com>
  • Loading branch information
chatton and DimitrisJim authored Oct 15, 2024
1 parent 794ede7 commit 0320253
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testing/endpoint_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ func (endpoint *Endpoint) MsgRecvPacket(packet channeltypesv2.Packet) error {
func (endpoint *Endpoint) MsgAcknowledgePacket(packet channeltypesv2.Packet, ack channeltypesv2.Acknowledgement) error {
packetKey := hostv2.PacketAcknowledgementKey(packet.DestinationChannel, packet.Sequence)
proof, proofHeight := endpoint.Counterparty.QueryProof(packetKey)

msg := channeltypesv2.NewMsgAcknowledgement(packet, ack, proof, proofHeight, endpoint.Chain.SenderAccount.GetAddress().String())

if err := endpoint.Chain.sendMsgs(msg); err != nil {
return err
}
Expand Down

0 comments on commit 0320253

Please sign in to comment.