Skip to content

Commit d71180f

Browse files
committed
remove unnecessary testing function
1 parent 6028f2c commit d71180f

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

testing/coordinator.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -195,24 +195,6 @@ func (coord *Coordinator) CommitNBlocks(chain *TestChain, n uint64) {
195195
}
196196
}
197197

198-
// ConnOpenInitOnBothChains initializes a connection on both endpoints with the state INIT
199-
// using the OpenInit handshake call.
200-
func (coord *Coordinator) ConnOpenInitOnBothChains(path *Path) error {
201-
if err := path.EndpointA.ConnOpenInit(); err != nil {
202-
return err
203-
}
204-
205-
if err := path.EndpointB.ConnOpenInit(); err != nil {
206-
return err
207-
}
208-
209-
if err := path.EndpointA.UpdateClient(); err != nil {
210-
return err
211-
}
212-
213-
return path.EndpointB.UpdateClient()
214-
}
215-
216198
// ChanOpenInitOnBothChains initializes a channel on the source chain and counterparty chain
217199
// with the state INIT using the OpenInit handshake call.
218200
func (coord *Coordinator) ChanOpenInitOnBothChains(path *Path) error {

0 commit comments

Comments
 (0)