Skip to content

Commit

Permalink
lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joepegler committed Apr 9, 2024
1 parent 43285f0 commit cd71918
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/account/src/BiconomySmartAccountV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ export class BiconomySmartAccountV2 extends BaseSmartContractAccount {
* const smartAccount = await createSmartAccountClient({ signer, bundlerUrl }); // Retrieve bundler url from dasboard
*
* const version = await smartAccount.getContractVersion();
*
*/
public async getContractVersion (): Promise<1 | 2> {
*
*/
public async getContractVersion(): Promise<1 | 2> {
const accountContract = await this._getAccountContract();
const implementationAddress = await accountContract.read.getImplementation();
return addressEquals(implementationAddress, BICONOMY_IMPLEMENTATION_ADDRESSES_BY_VERSION.V2_0_0) ? 2 : 1;
Expand Down

0 comments on commit cd71918

Please sign in to comment.