Skip to content

Commit

Permalink
fix: writeDiscv5HeapSnapshot to take 2 params
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths committed Nov 28, 2023
1 parent c5c0a67 commit 7b9ce53
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ export class WorkerNetworkCore implements INetworkCore {
writeNetworkHeapSnapshot(prefix: string, dirpath: string): Promise<string> {
return this.getApi().writeHeapSnapshot(prefix, dirpath);
}
writeDiscv5HeapSnapshot(dirpath: string): Promise<string> {
return this.getApi().writeDiscv5HeapSnapshot(dirpath);
writeDiscv5HeapSnapshot(prefix: string, dirpath: string): Promise<string> {
return this.getApi().writeDiscv5HeapSnapshot(prefix, dirpath);
}

private getApi(): ModuleThread<NetworkWorkerApi> {
Expand Down

0 comments on commit 7b9ce53

Please sign in to comment.