Skip to content
Snippets Groups Projects
Commit 2cf5af27 authored by Jean-Yves's avatar Jean-Yves
Browse files

Update BlockchainContext.ts - needed to build arm release, otherwise...

Update BlockchainContext.ts - needed to build arm release, otherwise typescript complains about the type of p.
parent d0e7efca
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ export class BlockchainContext { ...@@ -101,7 +101,7 @@ export class BlockchainContext {
*/ */
async getIssuerPersonalizedDifficulty(issuer: string): Promise<any> { async getIssuerPersonalizedDifficulty(issuer: string): Promise<any> {
const local_vHEAD = await this.getvHeadCopy({ issuer }); 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; return local_vHEAD.issuerDiff;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment