We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d468e43 commit d51dbafCopy full SHA for d51dbaf
js/mine.js
@@ -4,7 +4,7 @@
4
(function() {
5
var main = function () {
6
/* TODO: Find a way to load mining config from YML.
7
-
+
8
if (!loadScript("config.js")) {
9
console.log("== config.js not found");
10
}
@@ -63,7 +63,7 @@
63
if (accountFunded()) {
64
console.log("== Account funded");
65
66
- blockWatcher.stop();
+ blockWatcher.stopWatching();
67
miner_obj.stop();
68
cb();
69
@@ -124,7 +124,7 @@
124
console.log("== Pending transactions! Looking for next block...");
125
miner_obj.start(config.threads);
126
});
127
128
if (config.mine_periodically) return;
129
130
web3.eth.filter("latest").watch(function () {
@@ -137,4 +137,3 @@
137
138
main();
139
})();
140
0 commit comments