mirror of https://github.com/status-im/web3.js.git
warning when provider is not set
This commit is contained in:
parent
f7c9c8928e
commit
f9ca054314
|
@ -7,7 +7,6 @@
|
||||||
<script type="text/javascript" src="qt.js"></script>
|
<script type="text/javascript" src="qt.js"></script>
|
||||||
<script type="text/javascript" src="http.js"></script>
|
<script type="text/javascript" src="http.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
web3.setProvider(new web3.providers.HttpProvider('http://localhost:8080'));
|
|
||||||
function registerName() {
|
function registerName() {
|
||||||
var name = document.querySelector("#name").value;
|
var name = document.querySelector("#name").value;
|
||||||
name = web3.fromAscii(name);
|
name = web3.fromAscii(name);
|
||||||
|
|
Loading…
Reference in New Issue