mirror of
https://github.com/pezkuwichain/pezkuwi-api.git
synced 2026-04-22 07:58:03 +00:00
fix: update pezkuwi mainnet genesis hash and remove npm token from repo
- Update genesis hash to mainnet value - Remove npmAuthToken from .yarnrc.yml (use GitHub Secrets instead) - Add pezsp_* and pezframe_* path support in PortableRegistry
This commit is contained in:
@@ -47,7 +47,8 @@ export function subscribeFinalizedHeads (instanceId: string, api: DeriveApi): ()
|
||||
const endHash = prevHash;
|
||||
const startHash = header.parentHash;
|
||||
|
||||
prevHash = header.createdAtHash = header.hash;
|
||||
header.createdAtHash = header.hash as unknown as typeof header.createdAtHash;
|
||||
prevHash = header.hash as unknown as Hash;
|
||||
|
||||
return endHash === null || startHash.eq(endHash)
|
||||
? of(header)
|
||||
|
||||
Reference in New Issue
Block a user