Skip to content

Commit 4659646

Browse files
committed
computer_gen warning
1 parent 7752fd1 commit 4659646

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ex/lib/node/computor_gen.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ defmodule ComputorGen do
2525

2626
def handle_info(:tick, state) do
2727
state = cond do
28+
true ->
29+
IO.puts "Computor currently cannot find sols on mainnet due to difficulty. Do not waste CPU running it."
30+
IO.puts "Computor currently cannot find sols on mainnet due to difficulty. Do not waste CPU running it."
31+
state
2832
!state[:enabled] -> state
2933
!FabricSyncAttestGen.isQuorumIsInEpoch() ->
3034
IO.puts "🔴 cannot compute: out_of_sync"

0 commit comments

Comments
 (0)