mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 14:54:15 +00:00
Fix broken test case.
This commit is contained in:
parent
77f99a596f
commit
2f29660d0d
@ -388,10 +388,8 @@ public class NetworkAbstractionTests {
|
||||
} catch (IllegalStateException e) {}
|
||||
|
||||
// Override max size and make sure the server drops our connection
|
||||
byte[] messageBytes5 = msg5.toByteArray();
|
||||
byte[] messageLength5 = new byte[4];
|
||||
Utils.uint32ToByteArrayBE(messageBytes5.length, messageLength5, 0);
|
||||
client.writeBytes(messageBytes5);
|
||||
Utils.uint32ToByteArrayBE(msg5.toByteArray().length, messageLength5, 0);
|
||||
client.writeBytes(messageLength5);
|
||||
|
||||
serverConnectionClosed.get();
|
||||
|
Loading…
x
Reference in New Issue
Block a user