Cannot -> can not
This commit is contained in:
parent
ff5edc64ac
commit
75bb48a0e5
|
@ -33,7 +33,7 @@ export class Availability extends Actor {
|
|||
// ? Is a particular stake amount required?
|
||||
const worker = this.workers.get(reputationPublicKey) ?? new Worker(reputationPublicKey);
|
||||
if (!worker.available) {
|
||||
throw new Error('Worker is already registered and busy. Cannot increase stake.');
|
||||
throw new Error('Worker is already registered and busy. Can not increase stake.');
|
||||
}
|
||||
worker.stake += stake;
|
||||
// TODO: Interact with Bench contract to encumber reputation?
|
||||
|
|
Loading…
Reference in New Issue