if (0 != this.getCoinbaseBranch().getIndex()) { if (throwException) { if (getChainMerkleBranch().getIndex() != getExpectedIndex(nonce, ((AuxPoWNetworkParameters) params).getChainID(), getChainMerkleBranch().size())) { if (throwException) { throw new VerificationException("Aux POW wrong index in chain merkle branch for chain ID " + ((AuxPoWNetworkParameters) params).getChainID() + ". Was " + getChainMerkleBranch().getIndex() + ", expected " + getExpectedIndex(nonce, ((AuxPoWNetworkParameters) params).getChainID(), getChainMerkleBranch().size()));