<p>To fix the issue I call the voteReveal method only after parsing of all blocks is complete (and after that on each parsed block). The bsqNode.getChainTipHeight() must never be used for consensus code but only for requesting blocks via RCP or from a seed node. That height is not in sync with the daoState and not even guarantees to be the latest live block.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/2358#issuecomment-460062634">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZtkqM7cQBm5MNuBJeIWFAutj7EMxaks5vJwQOgaJpZM4agFgp">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtlXA7tNu5k5aa8N3dSpdA2qKxeWvks5vJwQOgaJpZM4agFgp.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bisq","title":"bisq-network/bisq","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bisq"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ManfredKarrer in #2358: To fix the issue I call the voteReveal method only after parsing of all blocks is complete (and after that on each parsed block). The bsqNode.getChainTipHeight() must never be used for consensus code but only for requesting blocks via RCP or from a seed node. That height is not in sync with the daoState and not even guarantees to be the latest live block. "}],"action":{"name":"View Issue","url":"https://github.com/bisq-network/bisq/issues/2358#issuecomment-460062634"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/2358#issuecomment-460062634",
"url": "https://github.com/bisq-network/bisq/issues/2358#issuecomment-460062634",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>