Skip to content

Commit

Permalink
bug: fix incorrect scrypt unit base type
Browse files Browse the repository at this point in the history
  • Loading branch information
UpstreamData committed Dec 10, 2024
1 parent 9b8e547 commit ab30988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyasic/device/algorithm/hashrate/unit/scrypt.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from __future__ import annotations

from enum import IntEnum
from .base import AlgoHashRateUnitType


class ScryptUnit(IntEnum):
class ScryptUnit(AlgoHashRateUnitType):
H = 1
KH = int(H) * 1000
MH = int(KH) * 1000
Expand Down

0 comments on commit ab30988

Please sign in to comment.