mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-22 20:19:21 +00:00
fix csv export by avoiding null pointer with ZERO
This commit is contained in:
parent
d094997666
commit
497f987541
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue