Skip to content

Commit

Permalink
Code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
deadblackclover committed Feb 12, 2020
1 parent b70b97c commit d543fc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/com/acrylplatform/extensions/Node.scala
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ class Node(context: ExtensionContext) extends Extension with ScorexLogging {
}

if (context.settings.minerSettings.enable) {
if (generatingBalance < 1000 * 100000000)
if (generatingBalance < 100 * 100000000)
warn(
s"Node doesn't mine blocks!" +
s" Generating balance is ${acryl(generatingBalance)} Acryl but must be at least 1000 Acryl")
s" Generating balance is ${acryl(generatingBalance)} Acryl but must be at least 100 Acryl")
if (context.blockchain.hasScript(minerPublicKey.toAddress))
warn(
s"Node doesn't mine blocks! Account ${minerPublicKey.toAddress.stringRepr} is scripted." +
Expand Down

0 comments on commit d543fc0

Please sign in to comment.