Skip to content

Commit

Permalink
temp. show bruto payrate instead of neto
Browse files Browse the repository at this point in the history
  • Loading branch information
luc1an24 committed Apr 3, 2020
1 parent 1d491eb commit 0a45132
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/NiceHashMiner/ViewModels/Models/MiningData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public DeviceMiningStats Stats

public IEnumerable<Hashrate> Speeds => Stats?.Speeds?.Select(s => (Hashrate) s);

public double Payrate => TimeFactor.ConvertFromDay((Stats?.TotalPayingRateDeductPowerCost(BalanceAndExchangeRates.Instance.GetKwhPriceInBtc()) ?? 0) * 1000 );
public double Payrate => TimeFactor.ConvertFromDay((Stats?.TotalPayingRate() ?? 0) * 1000 );
//public double Payrate => TimeFactor.ConvertFromDay((Stats?.TotalPayingRateDeductPowerCost(BalanceAndExchangeRates.Instance.GetKwhPriceInBtc()) ?? 0) * 1000 );

public double FiatPayrate => BalanceAndExchangeRates.Instance.ConvertFromBtc(Payrate / 1000);

Expand Down

0 comments on commit 0a45132

Please sign in to comment.