aion_miner icon indicating copy to clipboard operation
aion_miner copied to clipboard

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

Open g00dnatur3 opened this issue 5 years ago • 0 comments

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...

g00dnatur3 avatar May 18 '19 20:05 g00dnatur3