<p></p>
<p><b>@sqrrm</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/bisq-network/bisq/pull/4851#discussion_r536194084">core/src/main/java/bisq/core/dao/node/lite/LiteNode.java</a>:</p>
<pre style='color:#555'>> + } else {
+ if (blockDownloadListener == null) {
+ blockDownloadListener = (observable, oldValue, newValue) -> {
+ if ((double) newValue == 1) {
+ setupWalletBestBlockListener();
+ UserThread.execute(() -> walletsSetup.downloadPercentageProperty().removeListener(blockDownloadListener));
+ }
+ };
+ walletsSetup.downloadPercentageProperty().addListener(blockDownloadListener);
+ }
+ }
</pre>
<p>Yes, I only make the code suggestion here as a way to explain more precisely what I mean. Best do it on your own to be sure it's correct.</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/pull/4851#discussion_r536194084">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNTGGB5DSOEWZCVFPCLSTEAD5ANCNFSM4UD52FOA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNXXN3YOPAYCFNM4LUTSTEAD5A5CNFSM4UD52FOKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEB6S6AQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4851#discussion_r536194084",
"url": "https://github.com/bisq-network/bisq/pull/4851#discussion_r536194084",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>