diff --git a/source/consensus/consensus-bftsmart/src/main/java/com/jd/blockchain/consensus/bftsmart/client/BftsmartPeerProxyFactory.java b/source/consensus/consensus-bftsmart/src/main/java/com/jd/blockchain/consensus/bftsmart/client/BftsmartPeerProxyFactory.java index 306a71f0..55074e56 100644 --- a/source/consensus/consensus-bftsmart/src/main/java/com/jd/blockchain/consensus/bftsmart/client/BftsmartPeerProxyFactory.java +++ b/source/consensus/consensus-bftsmart/src/main/java/com/jd/blockchain/consensus/bftsmart/client/BftsmartPeerProxyFactory.java @@ -2,6 +2,7 @@ package com.jd.blockchain.consensus.bftsmart.client; import bftsmart.reconfiguration.util.TOMConfiguration; import bftsmart.reconfiguration.views.MemoryBasedViewStorage; +import bftsmart.reconfiguration.views.View; import bftsmart.tom.AsynchServiceProxy; import com.jd.blockchain.consensus.bftsmart.BftsmartConsensusConfig; import com.jd.blockchain.consensus.bftsmart.BftsmartTopology; @@ -11,6 +12,7 @@ import org.apache.commons.pool2.BasePooledObjectFactory; import org.apache.commons.pool2.PooledObject; import org.apache.commons.pool2.impl.DefaultPooledObject; +import java.net.InetSocketAddress; import java.util.concurrent.atomic.AtomicInteger; public class BftsmartPeerProxyFactory extends BasePooledObjectFactory { @@ -31,6 +33,17 @@ public class BftsmartPeerProxyFactory extends BasePooledObjectFactory