mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 15:22:16 +00:00
Remove usage of deprecated method in PeerTest.
This commit is contained in:
parent
24d38cdba4
commit
2f8740f8a8
@ -892,7 +892,7 @@ public class PeerTest extends TestWithNetworkConnections {
|
|||||||
peerDisconnected.set(null);
|
peerDisconnected.set(null);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
final NetworkParameters params = TestNet3Params.testNet();
|
final NetworkParameters params = TestNet3Params.get();
|
||||||
BitcoinSerializer serializer = new BitcoinSerializer(params);
|
BitcoinSerializer serializer = new BitcoinSerializer(params);
|
||||||
// Now write some bogus truncated message.
|
// Now write some bogus truncated message.
|
||||||
ByteArrayOutputStream out = new ByteArrayOutputStream();
|
ByteArrayOutputStream out = new ByteArrayOutputStream();
|
||||||
|
Loading…
Reference in New Issue
Block a user