refresh polling when key images added

This commit is contained in:
woodser 2025-04-17 16:14:40 -04:00
parent 58590d60df
commit ca8554bb34
No known key found for this signature in database
GPG Key ID: 55A10DD48ADEE5EF

View File

@ -144,6 +144,7 @@ public class XmrKeyImagePoller {
if (!keyImageGroups.containsKey(groupId)) keyImageGroups.put(groupId, new HashSet<String>());
Set<String> keyImagesGroup = keyImageGroups.get(groupId);
keyImagesGroup.addAll(keyImages);
refreshPolling();
}
}
@ -269,7 +270,6 @@ public class XmrKeyImagePoller {
// announce changes
if (!changedStatuses.isEmpty()) {
log.info("Announcing " + changedStatuses.size() + " key image spent status changes");
for (XmrKeyImageListener listener : new ArrayList<XmrKeyImageListener>(listeners)) {
listener.onSpentStatusChanged(changedStatuses);
}