This commit is contained in:
Ben Wilson 2023-07-30 12:39:26 -04:00
parent ebe7f27a61
commit be35d90474
2 changed files with 2 additions and 3 deletions

View File

@ -34,10 +34,9 @@ export class AddressSettingsService {
return await this.addressSettingsRepository.createQueryBuilder()
.update(AddressSettingsEntity)
.set({
shares: () => `"shares" + :shares`
shares: () => `"shares" + ${shares}` // Use the actual value of shares here
})
.where('address = :address', { address })
.setParameter('shares', shares)
.execute();
}

View File

@ -439,7 +439,7 @@ export class StratumV1Client extends EasyUnsubscribe {
return false;
}
await this.checkDifficulty();
//await this.checkDifficulty();
return true;
}