mirror of
https://github.com/retoaccess1/haveno-reto.git
synced 2024-11-10 13:13:36 +01:00
fix csv export by avoiding null pointer with ZERO
This commit is contained in:
parent
d094997666
commit
497f987541
@ -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<BigInteger> getOptionalTakerFee() {
|
||||
|
Loading…
Reference in New Issue
Block a user