<p></p>
<p><b>@ghubstan</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/bisq-network/bisq/pull/4308#discussion_r444259559">cli/src/main/java/bisq/cli/CliMain.java</a>:</p>
<pre style='color:#555'>> +                    out.println(reply.getFundingAddressesInfo());
+                    return;
+                }
+                case createpaymentacct: {
+                    if (nonOptionArgs.size() < 2)
+                        throw new IllegalArgumentException("no account name specified");
+
+                    var accountName = nonOptionArgs.get(1);
+
+                    if (nonOptionArgs.size() < 3)
+                        throw new IllegalArgumentException("no account number specified");
+
+                    var accountNumber = nonOptionArgs.get(2);
+
+                    if (nonOptionArgs.size() < 4)
+                        throw new IllegalArgumentException("no fiat currency specified");
</pre>
<p>I will replace this code that assumes correct param order, with a simple argument count check.   The change will be made in the latest in this long PR chain:  PR <a href="https://github.com/bisq-network/bisq/pull/4329" data-hovercard-type="pull_request" data-hovercard-url="/bisq-network/bisq/pull/4329/hovercard">4329</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/4308#discussion_r444259559">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNRE7BLWR2JIS4ZOBZ3RYC2SJANCNFSM4N6MWJDQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNUB3LQJ3QRBCNCLCA3RYC2SJA5CNFSM4N6MWJD2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODH5DYYY.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/4308#discussion_r444259559",
"url": "https://github.com/bisq-network/bisq/pull/4308#discussion_r444259559",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>