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

Haven and blocks.map is not a function #678

Open
joescalon opened this issue Jun 10, 2021 · 2 comments
Open

Haven and blocks.map is not a function #678

joescalon opened this issue Jun 10, 2021 · 2 comments

Comments

@joescalon
Copy link

I run a pool and every since new dvandal update blocks can be found but blockunlocker is constantly crashing. It doesn't orphan a block but does not pay out. The logged error I get is below.
TypeError: blocks.map is not a function
at /home/server/pool/lib/blockUnlocker.js:120:31
at nextTask (/home/server/pool/node_modules/async/dist/async.js:4576:27)
at next (/home/server/pool/node_modules/async/dist/async.js:4584:13)
.................

This issue is posted previously without any real fix. I tested with Node 12 and Node 14 both same issue. Does anyone have a fix for this or at least the old dvandal code. Thanks.

@xtc18
Copy link

xtc18 commented Jul 1, 2021

I run a pool and every since new dvandal update blocks can be found but blockunlocker is constantly crashing. It doesn't orphan a block but does not pay out. The logged error I get is below.
TypeError: blocks.map is not a function
at /home/server/pool/lib/blockUnlocker.js:120:31
at nextTask (/home/server/pool/node_modules/async/dist/async.js:4576:27)
at next (/home/server/pool/node_modules/async/dist/async.js:4584:13)
.................

This issue is posted previously without any real fix. I tested with Node 12 and Node 14 both same issue. Does anyone have a fix for this or at least the old dvandal code. Thanks.

Use async version 1.5.2 to resolve this.

@insidenothing
Copy link

Thank you, npm install [email protected] fixed the issue for me

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