Migrated cryptography and some improvements
This commit is contained in:
@ -98,7 +98,7 @@ public class NetworkHandlerTest {
|
||||
.port(peerAddress.getPort())
|
||||
.nodeRegistry(new TestNodeRegistry())
|
||||
.networkHandler(peerNetworkHandler)
|
||||
.cryptography(new BouncyCryptography())
|
||||
.cryptography(BouncyCryptography.INSTANCE)
|
||||
.listener(mock(BitmessageContext.Listener.class))
|
||||
.customCommandHandler(new CustomCommandHandler() {
|
||||
@Override
|
||||
@ -133,7 +133,7 @@ public class NetworkHandlerTest {
|
||||
.port(6002)
|
||||
.nodeRegistry(new TestNodeRegistry(peerAddress))
|
||||
.networkHandler(nodeNetworkHandler)
|
||||
.cryptography(new BouncyCryptography())
|
||||
.cryptography(BouncyCryptography.INSTANCE)
|
||||
.listener(mock(BitmessageContext.Listener.class))
|
||||
.build();
|
||||
}
|
||||
|
Reference in New Issue
Block a user