<p></p>
<blockquote>
<p>If you don't explicitly return there, then the next<code>if</code> block will return <code>true</code> and throw because you just finished encrypting the wallet. Prior to your refactoring, you did explicitly return from that block with a <code>Tuple2</code>. You either need to return or make the subsequent <code>if</code> an <code>else if</code> block; your call.</p>
</blockquote>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/cbeams/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cbeams">@cbeams</a>,<br>
I was way off (wrong!) about that.  Sorry.   Fixed in commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/bisq-network/bisq/commit/f5a4ca51a8e6c5926cd9c21bc4983f155bdb4ae6/hovercard" href="https://github.com/bisq-network/bisq/commit/f5a4ca51a8e6c5926cd9c21bc4983f155bdb4ae6"><tt>f5a4ca5</tt></a>.</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-623156485">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNWPOE7SVQVGJGWA7MDRPWYTTANCNFSM4MUIOB4Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNXUYSRHNIH7SK7GI2DRPWYTTA5CNFSM4MUIOB42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEUSJ2BI.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-623156485",
"url": "https://github.com/bisq-network/bisq/pull/4214#issuecomment-623156485",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>