[bisq-network/bisq] Prevent NPE in case delayedPayoutTx is not present (failed trade) (PR #5797)

jmacxx notifications at github.com
Tue Nov 2 18:28:26 CET 2021


If user attempts to open mediation on a failed trade, a NPE occurs because `delayedPayoutTx` is being accessed when it is null.  This fix checks `delayedPayoutTx` before attempting to use it.  If mediation has not been opened already then the ticket is opened.

Fixes #5796
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/5797

-- Commit Summary --

  * <a href="https://github.com/bisq-network/bisq/pull/5797/commits/33dbf0ed0f8a2781f62a895036a5d81da8439ab6">Prevent NPE in case delayedPayoutTx is not present (failed trade)</a>

-- File Changes --

    M desktop/src/main/java/bisq/desktop/main/portfolio/pendingtrades/PendingTradesDataModel.java (3)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5797.patch
https://github.com/bisq-network/bisq/pull/5797.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5797
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211102/86ffaef7/attachment.htm>


More information about the bisq-github mailing list