mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-10 16:43:14 +00:00
followup to reducing server calls on loading transaction tab
This commit is contained in:
@@ -434,13 +434,8 @@ public class TransactionController implements Initializable {
|
||||
}
|
||||
|
||||
Map<Script, WalletNode> openWalletOutputScripts = new HashMap<>();
|
||||
for(Wallet wallet : AppServices.get().getOpenWallets().keySet()) {
|
||||
for(Wallet wallet : AppServices.get().getOpenWallets().keySet().stream().filter(Wallet::isValid).collect(Collectors.toList())) {
|
||||
openWalletOutputScripts.putAll(wallet.getWalletOutputScripts());
|
||||
for(Wallet childWallet : wallet.getChildWallets()) {
|
||||
if(!childWallet.isNested()) {
|
||||
openWalletOutputScripts.putAll(childWallet.getWalletOutputScripts());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for(int i = indexStart; i < getTransaction().getOutputs().size() && i < maxIndex; i++) {
|
||||
|
||||
Reference in New Issue
Block a user