Skip to content

Commit

Permalink
Deleted unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxHeki committed Nov 21, 2021
1 parent 33f205f commit e18472e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions xmrigui.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,14 +350,14 @@ def on_mine_switch1(self, widget, state):
if state:
if self.pool_warning(self.widgets[self.profiles[1]]['pool_entry'].get_text()):
self.start_mining(self.profiles[1])
else: widgets.set_active(False)
else: widget.set_active(False)
else: self.stop_mining(self.profiles[1])

def on_mine_switch2(self, widget, state):
if state:
if self.pool_warning(self.widgets[self.profiles[2]]['pool_entry'].get_text()):
self.start_mining(self.profiles[2])
else: widgets.set_active(False)
else: widget.set_active(False)
else: self.stop_mining(self.profiles[2])

def on_save(self, widget, state=None):
Expand Down Expand Up @@ -401,9 +401,6 @@ def load_data(self):
self.cuda_plugin_path = '/opt/xmrigui/libxmrig-cuda.so'
self.profiles = ['profile-0', 'profile-1', 'profile-2']
self.pools = ['minexmr.com', 'supportxmr.com', 'nanopool.org']
self.api_url = ['http://127.0.0.1:10080/2/summary', 'http://127.0.0.1:10081/2/summary', 'http://127.0.0.1:10082/2/summary']
self.hashrate = [None, None, None]
self.wallet = '45xutTV4zsmBWTiEwxjt5z2XpPyKMf4iRc2WmWiRcf4DVHgSsCyCyUMWTvBSZjCTwP9678xG6Re9dUKhBScPmqKN6DUXaHF'
self.cryptos = [
'Monero',
'Ravencoin',
Expand Down

0 comments on commit e18472e

Please sign in to comment.