aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/filter.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/filter.js b/lib/filter.js
index 4cb297f37..25b6d9a4a 100644
--- a/lib/filter.js
+++ b/lib/filter.js
@@ -61,6 +61,9 @@ var Filter = function(options, impl) {
Filter.prototype.arrived = function(callback) {
this.changed(callback);
};
+Filter.prototype.happened = function(callback) {
+ this.changed(callback);
+};
/// gets called when there is new eth/shh message
Filter.prototype.changed = function(callback) {