mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 10:22:18 +01:00
Dont remove listener on fault
This commit is contained in:
parent
be3fc1998f
commit
39d6c1dc9b
@ -375,9 +375,11 @@ public class P2PService implements SetupListener, MessageListener, ConnectionLis
|
||||
log.info("\n\nDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\n" +
|
||||
"Decrypted SealedAndSignedMessage:\ndecryptedMsgWithPubKey={}"
|
||||
+ "\nDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\n", decryptedMsgWithPubKey);
|
||||
connection.getPeersNodeAddressOptional().ifPresent(peersNodeAddress ->
|
||||
if (connection.getPeersNodeAddressOptional().isPresent())
|
||||
decryptedDirectMessageListeners.stream().forEach(
|
||||
e -> e.onDirectMessage(decryptedMsgWithPubKey, peersNodeAddress)));
|
||||
e -> e.onDirectMessage(decryptedMsgWithPubKey, connection.getPeersNodeAddressOptional().get()));
|
||||
else
|
||||
log.error("peersNodeAddress is not available at onMessage.");
|
||||
} else {
|
||||
log.info("Wrong receiverAddressMaskHash. The message is not intended for us.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user