Browse Source
bitcore should be able to run inside a web worker. There were two minor issues preventing bitcore from running inside a web worker. The first was that lodash was outdated, and that version of lodash had a problem with web workers. The second was that the wrong version of ripemd160 was being called, because global.window does not exist inside a web worker (global.self does instead). A better way to check if you are in a browser is with process.browser.patch-2
Ryan X. Charles
10 years ago
3 changed files with 5 additions and 5 deletions
Loading…
Reference in new issue