Commit 2cf5af27 authored by Jean-Yves's avatar Jean-Yves

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
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment