Skip to content

Commit

Permalink
mobile: remove deprecated Stop function (#24369)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachinquarantine authored and qinglin89 committed Aug 22, 2022
1 parent 413a42d commit 9843a36
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions mobile/geth.go
Expand Up @@ -220,14 +220,6 @@ func (n *Node) Start() error {
return n.node.Start()
}

// Stop terminates a running node along with all its services. If the node was not started,
// an error is returned. It is not possible to restart a stopped node.
//
// Deprecated: use Close()
func (n *Node) Stop() error {
return n.node.Close()
}

// GetEthereumClient retrieves a client to access the Ethereum subsystem.
func (n *Node) GetEthereumClient() (client *EthereumClient, _ error) {
rpc, err := n.node.Attach()
Expand Down

0 comments on commit 9843a36

Please sign in to comment.