Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Commit

Permalink
Should be Web3, not web3
Browse files Browse the repository at this point in the history
  • Loading branch information
bmmpxf committed Oct 3, 2017
1 parent 7481019 commit 69a1430
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _site/public/tutorials/pet-shop.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ The front-end doesn't use a build system (webpack, grunt, etc.) to be as easy as
web3 = new Web3(web3.currentProvider);
} else {
// If no injected web3 instance is detected, fallback to the TestRPC.
App.web3Provider = new web3.providers.HttpProvider('http://localhost:8545');
App.web3Provider = new Web3.providers.HttpProvider('http://localhost:8545');
web3 = new Web3(App.web3Provider);
}
```
Expand Down
2 changes: 1 addition & 1 deletion tutorials/pet-shop.html
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ <h3><a name="instantiating-web3" class="anchor" href="#instantiating-web3"><span
web3 = new Web3(web3.currentProvider);
} else {
// If no injected web3 instance is detected, fallback to the TestRPC.
App.web3Provider = new web3.providers.HttpProvider(&#39;http://localhost:8545&#39;);
App.web3Provider = new Web3.providers.HttpProvider(&#39;http://localhost:8545&#39;);
web3 = new Web3(App.web3Provider);
}
</code></pre>
Expand Down

0 comments on commit 69a1430

Please sign in to comment.