Open comsians123 opened 6 years ago
Which browser/version? Could be a problem with async loading of webasm.
Chromium on Ubuntu 18.04
Chromium | 69.0.3497.100 (Official Build) snap (64-bit) OS | Linux JavaScript | V8 6.9.427.23 Flash | (Disabled) User Agent | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) snap Chromium/69.0.3497.100 Chrome/69.0.3497.100 Safari/537.36
PS: I am trying to debug the code in webstorm IDE (node environment) and getting the same error. I am not using any worker, just hard coded the parameters for
hash = cn(blob, hexnonce, 0, variant);
function call.
I am getting the following error
Function is called from here https://github.com/comsians123/webminerpool/blob/master/SDK/miner_raw/miner/cn.js#L286
Here is the function: https://github.com/comsians123/webminerpool/blob/master/SDK/miner_raw/miner/cn.js#L1166