Wallet: Adjust lastCalculatedSize comment. The 1000 byte boundary is no longer used.

This commit is contained in:
Oscar Guindzberg 2017-02-28 13:09:56 -03:00 committed by Andreas Schildbach
parent 1fd8b90f42
commit 4922036ae2

View file

@ -4829,8 +4829,7 @@ public class Wallet extends BaseTaggableObject
TransactionOutput selection2Change = null; TransactionOutput selection2Change = null;
CoinSelection selection1 = null; CoinSelection selection1 = null;
TransactionOutput selection1Change = null; TransactionOutput selection1Change = null;
// We keep track of the last size of the transaction we calculated but only if the act of adding inputs and // We keep track of the last size of the transaction we calculated.
// change resulted in the size crossing a 1000 byte boundary. Otherwise it stays at zero.
int lastCalculatedSize = 0; int lastCalculatedSize = 0;
Coin valueNeeded, valueMissing = null; Coin valueNeeded, valueMissing = null;
while (true) { while (true) {