Add default value to avoid null pointer

This commit is contained in:
Manfred Karrer 2018-12-03 00:06:28 +01:00
parent b8c85983e3
commit 538c0bb691
No known key found for this signature in database
GPG Key ID: 401250966A6B2C46

View File

@ -137,7 +137,7 @@ public abstract class MutableOfferDataModel extends OfferDataModel implements Bs
protected PaymentAccount paymentAccount;
protected boolean isTabSelected;
protected double marketPriceMargin = 0;
protected Coin txFeeFromFeeService;
protected Coin txFeeFromFeeService = Coin.ZERO;
protected boolean marketPriceAvailable;
protected int feeTxSize = 260; // size of typical tx with 1 input
protected int feeTxSizeEstimationRecursionCounter;