Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
806de97d22 | |||
5ab8115b34 |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@mojoio/bobcat",
|
||||
"version": "1.0.21",
|
||||
"version": "1.0.22",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@mojoio/bobcat",
|
||||
"version": "1.0.21",
|
||||
"version": "1.0.22",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@pushrocks/smartdelay": "^2.0.13",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@mojoio/bobcat",
|
||||
"version": "1.0.21",
|
||||
"version": "1.0.22",
|
||||
"private": false,
|
||||
"description": "a module to talk to bobcat miners",
|
||||
"main": "dist_ts/index.js",
|
||||
|
@ -68,6 +68,7 @@ export class Bobcat {
|
||||
await plugins.smartpromise.timeoutAndContinue(this.checkMinerStatus());
|
||||
await plugins.smartdelay.delayFor(10000);
|
||||
await plugins.smartpromise.timeoutAndContinue(this.gatherMinerDetails());
|
||||
await plugins.smartdelay.delayFor(10000);
|
||||
if (this.latestStatus.status === 'Synced' && parseInt(this.latestStatus.gap) > -100 && parseInt(this.latestStatus.gap) < 50) {
|
||||
console.log(`Miner ${this.latestMinerDetails.animal} at ${this.networkAddress} is Synced. ok!`)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user