This commit is contained in:
Ben Wilson
2023-07-24 22:26:36 -04:00
parent 019055bc5a
commit 5847665042
+1 -1
View File
@@ -265,7 +265,7 @@ export class StratumV1Client extends EasyUnsubscribe {
this.addressSettings = await this.addressSettingsService.getSettings(this.clientAuthorization.address); this.addressSettings = await this.addressSettingsService.getSettings(this.clientAuthorization.address);
if (this.addressSettings == null) { if (this.addressSettings == null) {
this.addressSettingsService.createNew(this.clientAuthorization.address); this.addressSettings = await this.addressSettingsService.createNew(this.clientAuthorization.address);
} }
if (this.clientSuggestedDifficulty == null) { if (this.clientSuggestedDifficulty == null) {