Merge pull request #75 from jorisbontje/74-stop-mining-on-account-funded
stop blockWatcher filter with correct method name. fixes #74
This commit is contained in:
commit
cd56ac64e6
|
@ -63,7 +63,7 @@
|
||||||
if (accountFunded()) {
|
if (accountFunded()) {
|
||||||
console.log("== Account funded");
|
console.log("== Account funded");
|
||||||
|
|
||||||
blockWatcher.stop();
|
blockWatcher.stopWatching();
|
||||||
miner_obj.stop();
|
miner_obj.stop();
|
||||||
cb();
|
cb();
|
||||||
}
|
}
|
||||||
|
@ -137,4 +137,3 @@
|
||||||
|
|
||||||
main();
|
main();
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue