<p></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/ghubstan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ghubstan">@ghubstan</a>, I just ran into the following scenario when testing everything locally:</p>
<ol>
<li>spin up a daemon against a new data directory, e.g: `./bisq-daemon --appDataDir=/tmp/newbisqdatadir --apiPassword=xyz</li>
<li>run <code>./bisq-cli --password=xyz getbalance</code> until you get a valid response of <code>0.00000000</code></li>
<li>set a wallet password with <code>./bisq-cli --password=xyz setwalletpassword foo</code></li>
<li>notice that <code>./bisq-cli --password=xyz getbalance</code> errors out as expected</li>
<li>unlock the wallet with <code>./bisq-cli --password=xyz unlockwallet foo 60</code></li>
<li>notice that <code>./bisq-cli --password=xyz getbalance</code> returns 0.00000000 once again</li>
<li>lock the wallet with <code>./bisq-cli --password=xyz lockwallet</code></li>
<li>notice that <code>./bisq-cli --password=xyz getbalance</code> errors out as expected</li>
<li>unlock the wallet once again with <code>./bisq-cli --password=xyz unlockwallet foo 60</code></li>
<li>notice that <code>./bisq-cli --password=xyz getbalance</code> does NOT return 0.00000000 as expected, but rather fails with a "balance is not yet available message"</li>
<li>notice that no matter how long you wait, the command above always fails with the same message.</li>
</ol>
<p>It appears there is no way to recover from this state via the cli, and that the only way out is to spin up a fresh data directory. Stopping and starting the server makes no difference either.</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/4214#issuecomment-625733825">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNVX3LASCDWCY4V7YNDRQPHY3ANCNFSM4MUIOB4Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNQJARVMSK7LLIBVUIDRQPHY3A5CNFSM4MUIOB42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEVF7BQI.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/4214#issuecomment-625733825",
"url": "https://github.com/bisq-network/bisq/pull/4214#issuecomment-625733825",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>