stop Host

open fun stopHost(service: HostsService, host: BrownieHost)

Method used to stop the host using the SUDO_SHUTDOWN_NOW command

Parameters

service

The host service used to handle the host stop procedure

host

The host to stop

Throws

when an exception occurred during the process