remove excess client construction from EzRpcClient

This commit is contained in:
Vaci Koblizek 2020-12-08 16:29:28 +00:00
parent 2dcaebb8f3
commit 4f55af417f

View file

@ -10,7 +10,7 @@ public class EzRpcClient {
public EzRpcClient(AsynchronousSocketChannel socket) {
this.twoPartyRpc = new TwoPartyClient(socket);
this.client = new Capability.Client(this.twoPartyRpc.bootstrap());
this.client = this.twoPartyRpc.bootstrap();
}
public Capability.Client getMain() {