diff options
author | Stefan Malzner <stefan@adlk.io> | 2017-11-23 16:17:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-23 16:17:34 +0100 |
commit | abca425e4a7b63be93132067bc335e8b6b39c2b2 (patch) | |
tree | e386f3e5d4c1c1caff19e3555e7ed1ce93e625f6 /src/lib/Miner.js | |
parent | replace typeform (diff) | |
parent | Add windows notification fix to changelog (diff) | |
download | ferdium-app-abca425e4a7b63be93132067bc335e8b6b39c2b2.tar.gz ferdium-app-abca425e4a7b63be93132067bc335e8b6b39c2b2.tar.zst ferdium-app-abca425e4a7b63be93132067bc335e8b6b39c2b2.zip |
Merge pull request #330 from meetfranz/developv5.0.0-beta.14
Beta 14
Diffstat (limited to 'src/lib/Miner.js')
-rw-r--r-- | src/lib/Miner.js | 4 |
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', () => { |