diff --git a/core/src/main/java/haveno/core/trade/Tradable.java b/core/src/main/java/haveno/core/trade/Tradable.java index 596f4c6c..7df38980 100644 --- a/core/src/main/java/haveno/core/trade/Tradable.java +++ b/core/src/main/java/haveno/core/trade/Tradable.java @@ -57,7 +57,7 @@ public interface Tradable extends PersistablePayload { } default BigInteger getTotalTxFee() { - return asTradeModel().map(Trade::getTotalTxFee).get(); + return asTradeModel().map(Trade::getTotalTxFee).orElse(BigInteger.ZERO); } default Optional getOptionalTakerFee() {