<p></p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/sqrrm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sqrrm">@sqrrm</a></p>
<h4>Description</h4>
<p>Bisq does not check if a payment account is in use before allowing the user to delete the payment account</p>
<h4>Version</h4>
<p>v1.3.4</p>
<h3>Steps to reproduce</h3>
<ol>
<li>have Alice create payment account X</li>
<li>have Alice create offer A with payment account X</li>
<li>have Alice delete payment account X with offer still open</li>
<li>have Bob take offer A from Alice</li>
</ol>
<h3>Expected behaviour</h3>
<p>After step 3, Alice should receive an error that she cannot delete payment account due to open offers using it</p>
<h3>Actual behaviour</h3>
<p>After step 3, Alice can delete payment method despite having open offers using it.<br>
After step 4, Alice receives the error popup in screenshot</p>
<h3>Screenshots</h3>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/232186/82892045-b9841b00-9f89-11ea-9baf-611c835577af.jpg"><img src="https://user-images.githubusercontent.com/232186/82892045-b9841b00-9f89-11ea-9baf-611c835577af.jpg" alt="9FBC7D2A-C06E-4EED-97AE-3B6CAA10AD14" style="max-width:100%;"></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/issues/4274">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNU4DA5AOJGXCTQRY2LRTONBVANCNFSM4NKGGDHA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNT2P5MHKP4Z4VQOBVTRTONBVA5CNFSM4NKGGDHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JJ5QYDA.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/issues/4274",
"url": "https://github.com/bisq-network/bisq/issues/4274",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>