From 7a8ce0ef9ab5c5ad27c47b8b58482e56479b6d2d Mon Sep 17 00:00:00 2001 From: Decho Kocharin Date: Mon, 25 Nov 2024 20:56:32 +0700 Subject: [PATCH] Update BitcoinJob.cs --- src/Miningcore/Blockchain/Bitcoin/BitcoinJob.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Miningcore/Blockchain/Bitcoin/BitcoinJob.cs b/src/Miningcore/Blockchain/Bitcoin/BitcoinJob.cs index e8d2f9ab4..725174ea6 100644 --- a/src/Miningcore/Blockchain/Bitcoin/BitcoinJob.cs +++ b/src/Miningcore/Blockchain/Bitcoin/BitcoinJob.cs @@ -942,7 +942,7 @@ public void Init(BlockTemplate blockTemplate, string jobId, developerParameters = BlockTemplate.Extra.SafeExtensionDataAs(); if (coin.HasFounderFee) - { + { founderParameters = BlockTemplate.Extra.SafeExtensionDataAs(); if(coin.Symbol == "FTB") @@ -960,7 +960,7 @@ public void Init(BlockTemplate blockTemplate, string jobId, founderParameters.Founder = JToken.FromObject(founderParameters.Extra["devfee"]); } } - } + } if (coin.HasMinerDevFund) minerDevFundParameters = BlockTemplate.Extra.SafeExtensionDataAs("coinbasetxn", "minerdevfund"); @@ -968,10 +968,10 @@ public void Init(BlockTemplate blockTemplate, string jobId, if (coin.HasMinerFund) minerFundParameters = BlockTemplate.Extra.SafeExtensionDataAs("coinbasetxn", "minerfund"); - if(coin.HasCoinbaseDevReward) + if (coin.HasCoinbaseDevReward) CoinbaseDevRewardParams = BlockTemplate.Extra.SafeExtensionDataAs(); - if(coin.HasFoundation) + if (coin.HasFoundation) foundationParameters = BlockTemplate.Extra.SafeExtensionDataAs(); this.coinbaseHasher = coinbaseHasher;