mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-11-05 03:26:43 +00:00
follow up
This commit is contained in:
parent
3131b265a5
commit
60e989b946
1 changed files with 1 additions and 1 deletions
|
@ -733,7 +733,7 @@ public class Wallet extends Persistable implements Comparable<Wallet> {
|
||||||
|
|
||||||
while(true) {
|
while(true) {
|
||||||
List<Map<BlockTransactionHashIndex, WalletNode>> selectedUtxoSets = selectInputSets(utxoSelectors, utxoFilters, valueRequiredAmt, feeRate, longTermFeeRate, groupByAddress, includeMempoolOutputs, includeSpentMempoolOutputs, sendMax);
|
List<Map<BlockTransactionHashIndex, WalletNode>> selectedUtxoSets = selectInputSets(utxoSelectors, utxoFilters, valueRequiredAmt, feeRate, longTermFeeRate, groupByAddress, includeMempoolOutputs, includeSpentMempoolOutputs, sendMax);
|
||||||
Map<BlockTransactionHashIndex, WalletNode> selectedUtxos = new HashMap<>();
|
Map<BlockTransactionHashIndex, WalletNode> selectedUtxos = new LinkedHashMap<>();
|
||||||
selectedUtxoSets.forEach(selectedUtxos::putAll);
|
selectedUtxoSets.forEach(selectedUtxos::putAll);
|
||||||
long totalSelectedAmt = selectedUtxos.keySet().stream().mapToLong(BlockTransactionHashIndex::getValue).sum();
|
long totalSelectedAmt = selectedUtxos.keySet().stream().mapToLong(BlockTransactionHashIndex::getValue).sum();
|
||||||
int numSets = selectedUtxoSets.size();
|
int numSets = selectedUtxoSets.size();
|
||||||
|
|
Loading…
Reference in a new issue