diff --git a/p2p/src/main/java/bisq/network/p2p/peers/getdata/RequestDataManager.java b/p2p/src/main/java/bisq/network/p2p/peers/getdata/RequestDataManager.java index 9fc6539101..0cee850e5e 100644 --- a/p2p/src/main/java/bisq/network/p2p/peers/getdata/RequestDataManager.java +++ b/p2p/src/main/java/bisq/network/p2p/peers/getdata/RequestDataManager.java @@ -359,17 +359,17 @@ public class RequestDataManager implements MessageListener, ConnectionListener, checkNotNull(listener).onUpdatedDataReceived(); } - checkNotNull(listener).onDataReceived(); - if (wasTruncated) { if (numRepeatedRequests < 10) { log.info("DataResponse did not contain all data, so we repeat request until we got all data"); UserThread.runAfter(() -> requestData(nodeAddress, remainingNodeAddresses), 2); } else { log.info("DataResponse still did not contained all data but we requested already 10 times and stop now."); + checkNotNull(listener).onDataReceived(); } } else { log.info("DataResponse contained all data"); + checkNotNull(listener).onDataReceived(); } }