Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
garyghayrat committed Jun 28, 2023
1 parent f188212 commit 5c9d0b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions umbra-js/src/classes/Umbra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,9 @@ export class Umbra {
address: string,
overrides: ScanOverrides = {}
): Promise<AnnouncementDetail[]> {
const registeredBlockNumebr = await getBlockNumberUserRegistered(address, 0, Signer);
const registeredBlockNumber = await getBlockNumberUserRegistered(address, 0, Signer);
// Get start and end blocks to scan events for
const startBlock = overrides.startBlock || registeredBlockNumebr || this.chainConfig.startBlock;
const startBlock = overrides.startBlock || registeredBlockNumber || this.chainConfig.startBlock;
const endBlock = overrides.endBlock || 'latest';
return this.fetchAllAnnouncements({ startBlock, endBlock });
}
Expand Down

0 comments on commit 5c9d0b6

Please sign in to comment.