mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 15:26:03 -04:00
refresh polling when key images added
This commit is contained in:
parent
58590d60df
commit
ca8554bb34
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user