Update miner/miner.go

Co-authored-by: Peter Rabbitson <ribasushi@protocol.ai>
This commit is contained in:
Aayush Rajasekaran
2021-07-09 17:07:23 -04:00
committed by GitHub
co-authored by Peter Rabbitson
parent 3091e2a771
commit dff097a992
+1 -1
View File
@@ -326,7 +326,7 @@ minerLoop:
if err := m.sf.MinedBlock(b.Header, base.TipSet.Height()+base.NullRounds); err != nil {
log.Errorf("<!!> SLASH FILTER ERROR: %s", err)
if os.Getenv("LOTUS_MINER_NO_FILTER") != "_yes_i_know_i_can_and_probably_will_lose_all_my_fil_and_power_" {
if os.Getenv("LOTUS_MINER_NO_SLASHFILTER") != "_yes_i_know_i_can_and_probably_will_lose_all_my_fil_and_power_" {
continue
}
}