mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
fix communication problem
This commit is contained in:
parent
7db8b8ece3
commit
1017502035
1 changed files with 4 additions and 4 deletions
|
@ -749,11 +749,11 @@ public class Connection implements MessageListener {
|
|||
// Reading the protobuffer message from the inputstream
|
||||
Messages.Envelope envelope = null;
|
||||
try {
|
||||
if (protoInputStream.available() > 0) {
|
||||
// if (protoInputStream.available() > 0) {
|
||||
envelope = Messages.Envelope.parseDelimitedFrom(protoInputStream);
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
// } else {
|
||||
// return;
|
||||
// }
|
||||
|
||||
if (envelope == null) {
|
||||
log.debug("Envelope is null, available={}", protoInputStream.available());
|
||||
|
|
Loading…
Add table
Reference in a new issue