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.
2 parents 1430d02 + 29a28a6 commit d1dd25aCopy full SHA for d1dd25a
js/mine.js
@@ -10,9 +10,9 @@ setInterval(function() {
10
console.log("=== start mining");
11
admin.miner.start();
12
}
13
- else if (web3.eth.mining && minimalAmount && minimalAmount) {
+ else if (web3.eth.mining && minimalAmount && !pendingTransactions) {
14
if (minimalAmount) { console.log("=== minimal ether amount reached") }
15
- if (pendingTransactions) { console.log("=== no pending transactions") }
+ if (!pendingTransactions) { console.log("=== no pending transactions") }
16
console.log("=== stop mining");
17
admin.miner.stop();
18
0 commit comments