Skip to content

Commit

Permalink
fix precision
Browse files Browse the repository at this point in the history
  • Loading branch information
soosr committed Feb 29, 2024
1 parent 5d64f8a commit 97de9a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public void UpdateFeeEstimates(IEnumerable<(TimeSpan timeSpan, FeeRate feeRate)>
{
Dictionary<int, double> feeEstimates = wildFeeEstimates.ToDictionary(
x => (int)x.timeSpan.TotalMinutes / 10,
x => Math.Round((double)x.feeRate.SatoshiPerByte, 1));
x => Math.Round((double)x.feeRate.SatoshiPerByte, 3));

var enableCursor = true;
var areAllValuesEqual = AreEstimatedFeeRatesEqual(feeEstimates);
Expand Down

0 comments on commit 97de9a1

Please sign in to comment.