mirror of https://github.com/status-im/web3.js.git
fixed web3.reset()
This commit is contained in:
parent
26561e4767
commit
3d652e82c0
|
@ -826,7 +826,7 @@ var filter = function(options, implementation, formatter) {
|
|||
});
|
||||
};
|
||||
|
||||
implementation.startPolling(filterId, onMessages, uninstall);
|
||||
implementation.startPolling(filterId, onMessages, implementation.uninstallFilter);
|
||||
|
||||
var changed = function (callback) {
|
||||
callbacks.push(callback);
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -83,7 +83,7 @@ var filter = function(options, implementation, formatter) {
|
|||
});
|
||||
};
|
||||
|
||||
implementation.startPolling(filterId, onMessages, uninstall);
|
||||
implementation.startPolling(filterId, onMessages, implementation.uninstallFilter);
|
||||
|
||||
var changed = function (callback) {
|
||||
callbacks.push(callback);
|
||||
|
|
|
@ -6,5 +6,16 @@ describe('web3', function() {
|
|||
u.methodExists(web3, 'sha3');
|
||||
u.methodExists(web3, 'toAscii');
|
||||
u.methodExists(web3, 'fromAscii');
|
||||
u.methodExists(web3, 'toDecimal');
|
||||
u.methodExists(web3, 'fromDecimal');
|
||||
u.methodExists(web3, 'toEth');
|
||||
u.methodExists(web3, 'setProvider');
|
||||
u.methodExists(web3, 'reset');
|
||||
|
||||
u.propertyExists(web3, 'manager');
|
||||
u.propertyExists(web3, 'providers');
|
||||
u.propertyExists(web3, 'eth');
|
||||
u.propertyExists(web3, 'db');
|
||||
u.propertyExists(web3, 'shh');
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue