fixed eth_getFilterChanges
This commit is contained in:
parent
b4545872a6
commit
2850bee3f6
|
@ -1182,7 +1182,7 @@ var stopPolling = function (id) {
|
|||
};
|
||||
|
||||
var ethWatch = {
|
||||
startPolling: startPolling.bind(null, 'eth_getFilterchanges'),
|
||||
startPolling: startPolling.bind(null, 'eth_getFilterChanges'),
|
||||
stopPolling: stopPolling
|
||||
};
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@
|
|||
<script type="text/javascript">
|
||||
|
||||
var web3 = require('web3');
|
||||
web3.setProvider(new web3.providers.HttpSyncProvider());
|
||||
web3.setProvider(new web3.providers.HttpProvider());
|
||||
|
||||
function watchBalance() {
|
||||
var coinbase = web3.eth.coinbase;
|
||||
|
|
|
@ -148,7 +148,7 @@ var stopPolling = function (id) {
|
|||
};
|
||||
|
||||
var ethWatch = {
|
||||
startPolling: startPolling.bind(null, 'eth_getFilterchanges'),
|
||||
startPolling: startPolling.bind(null, 'eth_getFilterChanges'),
|
||||
stopPolling: stopPolling
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue