3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-07 23:03:04 +00:00

Fix a generics warning.

This commit is contained in:
Mike Hearn 2013-06-05 16:58:58 +02:00
parent 50539ff6c2
commit 1288774ee4

View File

@ -1933,7 +1933,7 @@ public class Wallet implements Serializable, BlockChainListener {
log.warn("SendRequest transaction already has inputs but we don't know how much they are worth - they will be added to fee.");
value = value.subtract(totalInput);
List<TransactionInput> originalInputs = new ArrayList(req.tx.getInputs());
List<TransactionInput> originalInputs = new ArrayList<TransactionInput>(req.tx.getInputs());
// We need to know if we need to add an additional fee because one of our values are smaller than 0.01 BTC
boolean needAtLeastReferenceFee = false;