Skip to content

Commit

Permalink
remove unnecessary testing function
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-axner committed Jul 7, 2022
1 parent 6028f2c commit d71180f
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions testing/coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,24 +195,6 @@ func (coord *Coordinator) CommitNBlocks(chain *TestChain, n uint64) {
}
}

// ConnOpenInitOnBothChains initializes a connection on both endpoints with the state INIT
// using the OpenInit handshake call.
func (coord *Coordinator) ConnOpenInitOnBothChains(path *Path) error {
if err := path.EndpointA.ConnOpenInit(); err != nil {
return err
}

if err := path.EndpointB.ConnOpenInit(); err != nil {
return err
}

if err := path.EndpointA.UpdateClient(); err != nil {
return err
}

return path.EndpointB.UpdateClient()
}

// ChanOpenInitOnBothChains initializes a channel on the source chain and counterparty chain
// with the state INIT using the OpenInit handshake call.
func (coord *Coordinator) ChanOpenInitOnBothChains(path *Path) error {
Expand Down

0 comments on commit d71180f

Please sign in to comment.