MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / stopPreviousSubscribe

Method stopPreviousSubscribe

cmd/cql-eth-exchange/exchange.go:167–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165}
166
167func (e *Exchange) stopPreviousSubscribe() {
168 if e.subscription != nil {
169 e.subscription.Unsubscribe()
170 e.subscription = nil
171 }
172 if e.client != nil {
173 e.client.Close()
174 e.client = nil
175 }
176}
177
178func (e *Exchange) getChainID() (chainID int64, err error) {
179 var result hexutil.Big

Callers 2

StopMethod · 0.95
connectServerMethod · 0.95

Calls 2

UnsubscribeMethod · 0.65
CloseMethod · 0.65

Tested by

no test coverage detected