fix consensus resource bug
@@ -377,6 +377,9 @@ public class PocConsensusResource {
List<Agent> agentList = PocConsensusContext.getChainManager().getMasterChain().getChain().getAgentList();
Agent agent = null;
for (Agent a : agentList) {
+ if(a.getDelHeight()>0){
+ continue;
+ }
if (Arrays.equals(a.getAgentAddress(), account.getAddress().getBase58Bytes())) {
agent = a;
break;
