diff --git a/core/src/main/java/bisq/core/dao/governance/voteresult/VoteResultConsensus.java b/core/src/main/java/bisq/core/dao/governance/voteresult/VoteResultConsensus.java index a86dd730ba..529fbf271e 100644 --- a/core/src/main/java/bisq/core/dao/governance/voteresult/VoteResultConsensus.java +++ b/core/src/main/java/bisq/core/dao/governance/voteresult/VoteResultConsensus.java @@ -124,15 +124,18 @@ public class VoteResultConsensus { blindVoteTxId + " not found."); Tx blindVoteTx = optionalBlindVoteTx.get(); Optional optionalTxType = daoStateService.getOptionalTxType(blindVoteTx.getId()); - checkArgument(optionalTxType.isPresent(), "optionalTxType must be present"); + checkArgument(optionalTxType.isPresent(), "optionalTxType must be present" + + ". blindVoteTxId=" + blindVoteTx.getId()); checkArgument(optionalTxType.get() == TxType.BLIND_VOTE, - "blindVoteTx must have type BLIND_VOTE"); + "blindVoteTx must have type BLIND_VOTE but is " + optionalTxType.get() + + ". blindVoteTxId=" + blindVoteTx.getId()); checkArgument(periodService.isTxInCorrectCycle(blindVoteTx.getBlockHeight(), chainHeight), "blindVoteTx is not in correct cycle. blindVoteTx.getBlockHeight()=" - + blindVoteTx.getBlockHeight()); + + blindVoteTx.getBlockHeight() + ". chainHeight=" + chainHeight + + ". blindVoteTxId=" + blindVoteTx.getId()); checkArgument(periodService.isInPhase(blindVoteTx.getBlockHeight(), DaoPhase.Phase.BLIND_VOTE), "blindVoteTx is not in BLIND_VOTE phase. blindVoteTx.getBlockHeight()=" - + blindVoteTx.getBlockHeight()); + + blindVoteTx.getBlockHeight() + ". blindVoteTxId=" + blindVoteTx.getId()); return blindVoteTx; } catch (Throwable t) { throw new VoteResultException.ValidationException(t);