Fix rounding problems with Bitcoin Core 0.17
@@ -212,7 +212,7 @@ namespace Miningcore.Blockchain.Bitcoin
// build args
var amounts = balances
.Where(x => x.Amount > 0)
- .ToDictionary(x => x.Address, x => Math.Round(x.Amount, 8));
+ .ToDictionary(x => x.Address, x => Math.Round(x.Amount, 4));
if (amounts.Count == 0)
return;
