fix(core): update
This commit is contained in:
parent
66a8610bb1
commit
d111e3709b
@ -33,7 +33,7 @@ export class BobcatManager {
|
||||
public async addBobcat (networkAddressArg: string) {
|
||||
const newBobcat = await Bobcat.createFromNetworkAddress(networkAddressArg);
|
||||
this.bobcats.push(newBobcat);
|
||||
console.log(`added ${newBobcat.latestMinerDetails.animal} at ${newBobcat.networkAddress}`);
|
||||
console.log(`added ${newBobcat.latestMinerDetails?.animal} at ${newBobcat.networkAddress}`);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -44,7 +44,7 @@ export class BobcatManager {
|
||||
console.log(`cooling down for 10 seconds`);
|
||||
await plugins.smartdelay.delayFor(10000);
|
||||
for (const bobcat of this.bobcats) {
|
||||
console.log(`now running maintenance on ${bobcat.latestMinerDetails.animal} at ${bobcat.networkAddress}`);
|
||||
console.log(`now running maintenance on ${bobcat.latestMinerDetails?.animal} at ${bobcat.networkAddress}`);
|
||||
await plugins.smartpromise.timeoutAndContinue(bobcat.runMaintenance());
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user