mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-01 21:17:13 +00:00
Wallet: Adjust lastCalculatedSize comment. The 1000 byte boundary is no longer used.
This commit is contained in:
committed by
Andreas Schildbach
parent
1fd8b90f42
commit
4922036ae2
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user