Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sha256d() takes exactly 1 argument #7

Open
lewislin3 opened this issue Jan 19, 2018 · 2 comments
Open

sha256d() takes exactly 1 argument #7

lewislin3 opened this issue Jan 19, 2018 · 2 comments

Comments

@lewislin3
Copy link

When I'm mining with nightminer
I found there is an error mining bitcoin with sha256d().

[ERROR] ERROR: sha256d() takes exactly 1 argument (2 given)

my command:
python nightminer.py -o stratum+tcp://stratum.antpool.com:3333 -O USERNAME:PASSSWORD -a sha256d

Is my command wrong?

@northfoxz
Copy link

Change line 574 to
ProofOfWork = lambda s, m: (sha256d(m))
:)

@mp5ka5
Copy link

mp5ka5 commented Nov 7, 2018

Great! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants