Skip to content

Commit

Permalink
kusama staking processor debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
rcrvano committed Dec 6, 2024
1 parent 9a700c9 commit b4df520
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main/src/modules/PolkadotStakingProcessor/helpers/polkadot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,9 @@ export class PolkadotStakingProcessorPolkadotHelper {
}

async getBlockHashByHeight(height: number): Promise<BlockHash> {
this.logger.info(`this.polkadotApi.rpc.chain.getBlockHash(${height})`);
return this.polkadotApi.rpc.chain.getBlockHash(height)
const hash = this.polkadotApi.rpc.chain.getBlockHash(height)
this.logger.info(`getBlockHashByHeight: this.polkadotApi.rpc.chain.getBlockHash(${height}): ${hash}`);
return hesh;
}

async getBlockTime(blockHash: TBlockHash): Promise<number> {
Expand Down

0 comments on commit b4df520

Please sign in to comment.