Skip to content

Commit

Permalink
fix header id types
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-weir committed Aug 24, 2023
1 parent 16f121e commit 06c71ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/blockchain/clients/blockchain_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class DefaultBlockchainClient extends Component
this.#node = new NodeClient(config);
}

getBlockIdsByHeight(height: number): Promise<string[]> {
getBlockIdsByHeight(height: number): Promise<BlockHeaderId[]> {
return this.#node.getBlockIdsByHeight(height);
}

Expand Down
2 changes: 1 addition & 1 deletion src/blockchain/clients/explorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class ExplorerClient extends Component implements BlockchainClient {
});
}

getBlockIdsByHeight(_height: number): Promise<string[]> {
getBlockIdsByHeight(_height: number): Promise<BlockHeaderId[]> {
throw new Error("Method not implemented.");
}

Expand Down

0 comments on commit 06c71ad

Please sign in to comment.