mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-07 20:08:06 +00:00
Add a method in test indexer to get blocks
This commit is contained in:
parent
3e0c84b333
commit
d4e79ceee4
@ -25,8 +25,8 @@ export class Indexer implements IndexerInterface {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
async getBlock (blockHash: string): Promise<any> {
|
||||
assert(blockHash);
|
||||
async getBlocks (blockFilter: { blockHash?: string, blockNumber?: number }): Promise<any> {
|
||||
assert(blockFilter);
|
||||
|
||||
return undefined;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user