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

TypeError: Cannot read property 'miner' of null #28

Open
umityayla opened this issue Dec 16, 2017 · 12 comments
Open

TypeError: Cannot read property 'miner' of null #28

umityayla opened this issue Dec 16, 2017 · 12 comments

Comments

@umityayla
Copy link

resim

Any idea?

@taylorshuang
Copy link

I have the same error. I want to add a new coin and use equihash algorithm.

@altcoin-projects
Copy link

Any solution ? i am getting same error with Sha256 mazacoin

@robprod
Copy link

robprod commented Feb 6, 2018

Exactly same error... I wanted to implement a new equihash coin, but after looking the code of pool.js, I saw that a RPC call "getblocksubsidy" is done, which normally returns something in subsidy variable. But that doesn't even exist in my coin daemon methods, that's why the subsidy.miner property is null. So don't know what to do now...

@taylorshuang
Copy link

I have solved this problem, please choose rightly nodejs version.

@robprod
Copy link

robprod commented Feb 7, 2018

@taylorshuang if you do npm -v and nodejs -v what do you get ? Thx

@Simplexletalis
Copy link

How was this resolved?

@SanjaySaluth
Copy link

@taylorshuang How did you resolve this, please help?

@taylorshuang
Copy link

taylorshuang commented Feb 20, 2018

The problem is a setup problem, not a code problem. I can't reproduce this problem again. I'll test it later and give it a solution here.

@umityayla
Copy link
Author

@taylorshuang could you please tell me which version nodejs you used or any advices on fixing this issue?

@j4ys0n
Copy link

j4ys0n commented May 23, 2018

I'm not sure I agree that this is a node.js problem. I'm running 2 instances of this pool on 8.11 and it's working fine. I just set up a new pool, with the same version and it's giving me this same error... any ideas?

@alforro
Copy link

alforro commented Aug 25, 2018

same error here, I am using v8.4.0

@Ravmtl
Copy link

Ravmtl commented Nov 21, 2021

The same error while running Anon coin when a miner is connected to the pool. Without any miner, no errors.
Nodejs: v10.23.3
npm: 6.14.11
node: 10.23.3

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

9 participants