From 9c5b9af5c8d9cff1115a235a5fc8abb5adee708b Mon Sep 17 00:00:00 2001 From: Oliver Weichhold Date: Wed, 12 Jan 2022 11:34:39 +0100 Subject: [PATCH] Code cleanup --- src/Miningcore/Blockchain/Equihash/EquihashJob.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Miningcore/Blockchain/Equihash/EquihashJob.cs b/src/Miningcore/Blockchain/Equihash/EquihashJob.cs index 8735cfaeb..4144c1509 100644 --- a/src/Miningcore/Blockchain/Equihash/EquihashJob.cs +++ b/src/Miningcore/Blockchain/Equihash/EquihashJob.cs @@ -43,8 +43,8 @@ public class EquihashJob protected EquihashSolver solver; // ZCash Sapling & Overwinter support - protected bool isOverwinterActive = false; - protected bool isSaplingActive = false; + protected bool isOverwinterActive; + protected bool isSaplingActive; // temporary reflection hack to force overwinter protected static readonly FieldInfo overwinterField = typeof(ZcashTransaction).GetField("fOverwintered", BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.DeclaredOnly);