mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-11 18:24:05 +00:00
Fix pruning of canonical block if null block is encountered (#499)
This commit is contained in:
@@ -107,9 +107,9 @@ export class Indexer implements IndexerInterface {
|
||||
return [];
|
||||
}
|
||||
|
||||
async getAncestorAtDepth (blockHash: string, depth: number): Promise<string> {
|
||||
async getAncestorAtHeight (blockHash: string, height: number): Promise<string> {
|
||||
assert(blockHash);
|
||||
assert(depth);
|
||||
assert(height);
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user