Skip to content

Commit

Permalink
Remove connection.enable which makes web wallet fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementWalter committed Aug 29, 2023
1 parent 44de0b3 commit ff88f51
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
24 changes: 22 additions & 2 deletions packages/starksheet-webapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/starksheet-webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
]
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@types/bn.js": "^5.1.0",
"prettier": "2.7.1",
"typechain": "^8.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ export class StarknetProvider implements ChainProvider {
}

this.connection = connection;
await this.connection.enable({ starknetVersion: "v5" });
return normalizeHexString(connection.account.address);
}

Expand Down

0 comments on commit ff88f51

Please sign in to comment.