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 jagdeep sidhu committed Mar 9, 2022
1 parent f4db0a8 commit 08797f7
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 @@ -232,14 +232,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 08797f7

Please sign in to comment.