revoxhere / duino-coin

ᕲ Duino-Coin is a coin that can be mined with almost everything, including Arduino boards.

Home Page:https://duinocoin.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AVR_Miner.py error name 'accept' is not defined

FujaTyping opened this issue · comments

Describe the bug
I run the AVR_Miner.py when accepted at 100/100 it's stop mining automatically

To Reproduce
Steps to reproduce the behavior:

  1. Run AVR_Miner.py
  2. Wait untill accepted at 100/100
  3. Go to console
  4. See error

Expected behavior
Run AVR_Miner.py for a while got this , I think is limited at 100?

Exception in thread Thread-2 (mine_avr):
Traceback (most recent call last):
  File "/usr/lib64/python3.12/threading.py", line 1073, in _bootstrap_inner
    self.run()
  File "/usr/lib64/python3.12/threading.py", line 1010, in run
    self._target(*self._args, **self._kwargs)
  File "/home/fujatyping/Miner/duino-coin-4.0/AVR_Miner.py", line 1242, in mine_avr
    f"{get_string('surpassed')} {accept.value} {get_string('surpassed_shares')}",
                                 ^^^^^^
NameError: name 'accept' is not defined

Screenshots/photos
image

System (please complete the following information):

  • OS: Linux (Nobara)
  • Software AVR Miner
  • Version 4.0