Skip to content

Commit

Permalink
chore: update param docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexghr committed Dec 1, 2023
1 parent 269f7bc commit 3f478a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class ServerWorldStateSynchronizer implements WorldStateSynchronizer {
/**
* Forces an immediate sync
* @param minBlockNumber - The minimum block number that we must sync to
* @returns A promise that resolves to the blockNumber the world state has synced to
* @returns A promise that resolves with the block number the world state was synced to
*/
public async syncImmediate(minBlockNumber?: number): Promise<number> {
if (this.currentState !== WorldStateRunningState.RUNNING) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export interface WorldStateSynchronizer {
/**
* Forces an immediate sync to an optionally provided minimum block number
* @param minBlockNumber - The minimum block number that we must sync to
* @returns A promise that resolves once the sync has completed.
* @returns A promise that resolves with the block number the world state was synced to
*/
syncImmediate(minBlockNumber?: number): Promise<number>;

Expand Down

0 comments on commit 3f478a1

Please sign in to comment.