mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Revert "Fix peer add(offer) & remove(offer) event order problem"
This reverts commit add6536402
.
This commit is contained in:
parent
add6536402
commit
094bc52552
1 changed files with 1 additions and 2 deletions
|
@ -67,7 +67,6 @@ import java.io.StreamCorruptedException;
|
|||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
|
@ -440,7 +439,7 @@ public class Connection implements HasCapabilities, Runnable, MessageListener {
|
|||
|
||||
private void onBundleOfEnvelopes(BundleOfEnvelopes bundleOfEnvelopes, Connection connection) {
|
||||
Map<P2PDataStorage.ByteArray, Set<NetworkEnvelope>> itemsByHash = new HashMap<>();
|
||||
Set<NetworkEnvelope> envelopesToProcess = new LinkedHashSet<>();
|
||||
Set<NetworkEnvelope> envelopesToProcess = new HashSet<>();
|
||||
List<NetworkEnvelope> networkEnvelopes = bundleOfEnvelopes.getEnvelopes();
|
||||
for (NetworkEnvelope networkEnvelope : networkEnvelopes) {
|
||||
// If SendersNodeAddressMessage we do some verifications and apply if successful, otherwise we return false.
|
||||
|
|
Loading…
Add table
Reference in a new issue