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

SOLO_POOL: I found & Fixed a Bug, please merge this fix #41

Open
g00dnatur3 opened this issue May 18, 2019 · 0 comments
Open

SOLO_POOL: I found & Fixed a Bug, please merge this fix #41

g00dnatur3 opened this issue May 18, 2019 · 0 comments

Comments

@g00dnatur3
Copy link

g00dnatur3 commented May 18, 2019

Node Version: v10.15.3
Project: /aion_miner/aion_solo_pool

When i do a fresh clone & do npm install, i get the following error

../src/binding.cpp:234:80: error: no matching function for call to ‘v8::Function::NewInstance(const unsigned int&, v8::Local<v8::Value> [1])’
   v8::Local<v8::Object> inst = construct->GetFunction()->NewInstance(argc, argv);

Inside this file:
/home/mine/aion_miner/aion_solo_pool/local_modules/node-blake2/src/binding.cpp

update line 234 to be the following:

v8::Local<v8::Object> inst = Nan::NewInstance(construct->GetFunction(), argc, argv).ToLocalChecked();

This will fix the bug and it will compile...

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

1 participant