Wallet: Eliminate a redundant null check.
@@ -4166,8 +4166,7 @@ public class Wallet extends BaseTaggableObject
req.tx.addInput(output);
if (req.emptyWallet) {
- final Coin feePerKb = req.feePerKb == null ? Coin.ZERO : req.feePerKb;
- if (!adjustOutputDownwardsForFee(req.tx, bestCoinSelection, feePerKb, req.ensureMinRequiredFee))
+ if (!adjustOutputDownwardsForFee(req.tx, bestCoinSelection, req.feePerKb, req.ensureMinRequiredFee))
throw new CouldNotAdjustDownwards();
}
