Skip to content

Commit

Permalink
fix: removed fixed params swap
Browse files Browse the repository at this point in the history
  • Loading branch information
tabaktoni committed Nov 14, 2022
1 parent cfafc20 commit 57c01f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/provider/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ export class Provider implements ProviderInterface {
contractAddress: string,
blockIdentifier: BlockIdentifier = 'pending'
): Promise<string> {
if (this.provider instanceof RpcProvider)
return this.provider.getClassHashAt(blockIdentifier, contractAddress);
return this.provider.getClassHashAt(contractAddress, blockIdentifier);
}

Expand Down

0 comments on commit 57c01f6

Please sign in to comment.