[bisq-network/bisq] Fix problems with editing account names (PR #6167)

xyzmaker123 notifications at github.com
Tue Apr 26 13:58:26 CEST 2022


@xyzmaker123 commented on this pull request.



> +
+
+        BankAccountPayload bankAccountPayload = null;
+        CashDepositAccountPayload cashDepositAccountPayload = null;
+        if (paymentAccountPayload instanceof BankAccountPayload) {
+            bankAccountPayload = (BankAccountPayload) paymentAccountPayload;
+        } else if (paymentAccountPayload instanceof CashDepositAccountPayload) {
+            cashDepositAccountPayload = (CashDepositAccountPayload) paymentAccountPayload;
+        }
+

Fixed in latest commit.

Code could be even more simplified when `CashDepositAccountPayload` extends `BankAccountPayload` - do you see any obstacles from doing it (in this pull request)?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/6167#discussion_r858624840
You are receiving this because you are subscribed to this thread.

Message ID: <bisq-network/bisq/pull/6167/review/953250950 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20220426/05d469fc/attachment-0001.htm>


More information about the bisq-github mailing list