mobile: remove deprecated Stop function (#24369)

This commit is contained in:
Zachinquarantine 2022-03-08 18:42:14 -05:00 committed by GitHub
parent 8401e4277a
commit 19c2c60bbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -220,14 +220,6 @@ func (n *Node) Start() error {
return n.node.Start() 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. // GetEthereumClient retrieves a client to access the Ethereum subsystem.
func (n *Node) GetEthereumClient() (client *EthereumClient, _ error) { func (n *Node) GetEthereumClient() (client *EthereumClient, _ error) {
rpc, err := n.node.Attach() rpc, err := n.node.Attach()