Also notify TradePresenceWebsocket (using TradePresenceEvent) when bridging old PRESENCE txns

This commit is contained in:
catbref 2022-02-26 17:57:47 +00:00
parent 3b477ef637
commit ecac47d1bc

View File

@ -649,6 +649,8 @@ public class TradeBot implements Listener {
if (computedTradePresenceData == fakeTradePresenceData) {
LOGGER.trace("Bridged PRESENCE transaction for trade {} with timestamp {}", atAddress, expiry);
rebuildSafeAllTradePresences();
EventBus.INSTANCE.notify(new TradePresenceEvent(fakeTradePresenceData));
}
}