File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ export default {
35
35
// Prepare the context for running the examples
36
36
contextify : function ( context ) {
37
37
Object . assign ( context , ethers ) ;
38
- context . provider = new ethers . InfuraProvider ( "mainnet" , "49a0efa3aaee4fd99797bfa94d8ce2f1" ) ;
38
+ //context.provider = new ethers.InfuraProvider("mainnet", "49a0efa3aaee4fd99797bfa94d8ce2f1");
39
+ context . provider = new ethers . InfuraProvider ( "mainnet" ) ;
39
40
context . Uint8Array = Uint8Array ;
40
41
41
42
ethers . InfuraProvider . prototype [ inspect . custom ] = function ( depth , options , inspect ) {
Original file line number Diff line number Diff line change @@ -220,7 +220,6 @@ the data on the blockchain. This can be used to query the current
220
220
account state, fetch historic logs, look up contract code and so on.
221
221
222
222
_code: @lang<javascript>
223
- //_hide: provider = new InfuraProvider();
224
223
225
224
// Look up the current block number (i.e. height)
226
225
await provider.getBlockNumber()
You can’t perform that action at this time.
0 commit comments