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
@@ -34,10 +34,9 @@ export class AddressSettingsService {
return await this.addressSettingsRepository.createQueryBuilder() return await this.addressSettingsRepository.createQueryBuilder()
.update(AddressSettingsEntity) .update(AddressSettingsEntity)
.set({ .set({
shares: () => `"shares" + :shares` shares: () => `"shares" + ${shares}` // Use the actual value of shares here
}) })
.where('address = :address', { address }) .where('address = :address', { address })
.setParameter('shares', shares)
.execute(); .execute();
} }
+1 -1
View File
@@ -439,7 +439,7 @@ export class StratumV1Client extends EasyUnsubscribe {
return false; return false;
} }
await this.checkDifficulty(); //await this.checkDifficulty();
return true; return true;
} }