Skip to content

Commit

Permalink
mobile: remove deprecated Stop function (ethereum#24369)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachinquarantine authored and JacekGlen committed May 26, 2022
1 parent 8566106 commit 0a55134
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions mobile/geth.go
Original file line number Diff line number Diff line change
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 0a55134

Please sign in to comment.