3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-11 17:55:53 +00:00

Wallet: minor style fixies

This commit is contained in:
Mike Hearn 2015-01-12 16:43:25 +01:00
parent bde0df8e1c
commit d9537b8ea9

View File

@ -3583,9 +3583,8 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
req.tx.shuffleOutputs();
// Now sign the inputs, thus proving that we are entitled to redeem the connected outputs.
if (req.signInputs) {
if (req.signInputs)
signTransaction(req);
}
// Check size.
int size = req.tx.bitcoinSerialize().length;
@ -3593,9 +3592,8 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
throw new ExceededMaxTransactionSize();
final Coin calculatedFee = req.tx.getFee();
if (calculatedFee != null) {
if (calculatedFee != null)
log.info(" with a fee of {}", calculatedFee.toFriendlyString());
}
// Label the transaction as being self created. We can use this later to spend its change output even before
// the transaction is confirmed. We deliberately won't bother notifying listeners here as there's not much