mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-01-05 18:39:54 +00:00
remove getFeePerVbyte() for btc
This commit is contained in:
parent
f889aef403
commit
74b0e42dae
1 changed files with 0 additions and 5 deletions
|
@ -46,11 +46,6 @@ public class CoinUtil {
|
||||||
return a.compareTo(b) >= 0 ? a : b;
|
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)
|
* @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)
|
* @return The percentage value as double (e.g. 1% is 0.01)
|
||||||
|
|
Loading…
Reference in a new issue