From 74b0e42dae181115bd45d8a601981762000859f3 Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 9 Nov 2023 15:47:43 -0500 Subject: [PATCH] remove getFeePerVbyte() for btc --- core/src/main/java/haveno/core/util/coin/CoinUtil.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/src/main/java/haveno/core/util/coin/CoinUtil.java b/core/src/main/java/haveno/core/util/coin/CoinUtil.java index ff068f0663..b339337590 100644 --- a/core/src/main/java/haveno/core/util/coin/CoinUtil.java +++ b/core/src/main/java/haveno/core/util/coin/CoinUtil.java @@ -46,11 +46,6 @@ public class CoinUtil { return a.compareTo(b) >= 0 ? a : b; } - public static double getFeePerVbyte(Coin miningFee, int txVsize) { - double value = miningFee != null ? miningFee.value : 0; - return MathUtils.roundDouble((value / txVsize), 2); - } - /** * @param value Btc amount to be converted to percent value. E.g. 0.01 BTC is 1% (of 1 BTC) * @return The percentage value as double (e.g. 1% is 0.01)