From 087650297aa378575525a4747e3c2f389a23e486 Mon Sep 17 00:00:00 2001 From: viveksharmapoudel Date: Wed, 31 Jan 2024 23:53:22 +0800 Subject: [PATCH] chore: msgConnection icon client check remove --- relayer/chains/icon/tx.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/relayer/chains/icon/tx.go b/relayer/chains/icon/tx.go index 3356fa8fd..4db25553b 100644 --- a/relayer/chains/icon/tx.go +++ b/relayer/chains/icon/tx.go @@ -306,13 +306,7 @@ func (icp *IconProvider) MsgConnectionOpenTry(msgOpenInit provider.ConnectionInf func (icp *IconProvider) MsgConnectionOpenAck(msgOpenTry provider.ConnectionInfo, proof provider.ConnectionProof) (provider.RelayerMessage, error) { - // proof from chainB should return clientState of chainB tracking chainA - iconClientState, err := icp.MustReturnIconClientState(proof.ClientState) - if err != nil { - return nil, err - } - - clientStateEncode, err := proto.Marshal(iconClientState) + clientStateEncode, err := proto.Marshal(proof.ClientState) if err != nil { return nil, err }