Commit 5aad3b01 authored by Sergei Zubov's avatar Sergei Zubov

Fix reserve balance for staking

Reserve balance should be in Satoshis
parent 621e54c5
...@@ -370,7 +370,7 @@ namespace Stratis.Bitcoin.Features.Miner ...@@ -370,7 +370,7 @@ namespace Stratis.Bitcoin.Features.Miner
this.systemTimeOutOfSyncSleep = 7000; this.systemTimeOutOfSyncSleep = 7000;
this.lastCoinStakeSearchTime = this.dateTimeProvider.GetAdjustedTimeAsUnixTimestamp(); this.lastCoinStakeSearchTime = this.dateTimeProvider.GetAdjustedTimeAsUnixTimestamp();
this.lastCoinStakeSearchPrevBlockHash = 0; this.lastCoinStakeSearchPrevBlockHash = 0;
this.targetReserveBalance = 100000000; // TOOD:settings.targetReserveBalance this.targetReserveBalance = 100000000 * Money.COIN; // TOOD:settings.targetReserveBalance
this.stakeProgressFlag = StakeNotInProgress; this.stakeProgressFlag = StakeNotInProgress;
this.rpcGetStakingInfoModel = new Miner.Models.GetStakingInfoModel(); this.rpcGetStakingInfoModel = new Miner.Models.GetStakingInfoModel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment