From 2cf5af27a0bf17892932f04ee7ed1428148fe4bd Mon Sep 17 00:00:00 2001 From: Jean-Yves <saiolar-c@yahoo.fr> Date: Fri, 5 Apr 2019 15:27:28 +0000 Subject: [PATCH] Update BlockchainContext.ts - needed to build arm release, otherwise typescript complains about the type of p. --- app/lib/computation/BlockchainContext.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/computation/BlockchainContext.ts b/app/lib/computation/BlockchainContext.ts index e997612e9..015a9047e 100644 --- a/app/lib/computation/BlockchainContext.ts +++ b/app/lib/computation/BlockchainContext.ts @@ -101,7 +101,7 @@ export class BlockchainContext { */ async getIssuerPersonalizedDifficulty(issuer: string): Promise<any> { const local_vHEAD = await this.getvHeadCopy({ issuer }); - await indexer.preparePersonalizedPoW(local_vHEAD, this.vHEAD_1, (n:number, m:number, p = "") => this.dal.range(n,m,p), this.conf) + await indexer.preparePersonalizedPoW(local_vHEAD, this.vHEAD_1, (n:number, m:number, p:string = "") => this.dal.range(n,m,p), this.conf) return local_vHEAD.issuerDiff; } -- GitLab