[bisq-network/bisq] Manual payout tool: prevent absurdly high fee payout (#5099)

jmacxx notifications at github.com
Thu Jan 21 19:43:04 CET 2021


This PR adds display of the Tx fee as a percentage, and includes validation to disallow the payout processing if tx fee is > 10% of the multisig amount.  The Tx cannot be signed or built until validation passes.

Fixes a bug whereby whitespace in an amount caused it to be parsed as 0.  It now trims whitespace from numeric input fields before parsing.

---

**Screenshot showing the new Tx fee % field:**

![image](https://user-images.githubusercontent.com/47253594/105396412-7ac06680-5be5-11eb-9264-9566d8232e1e.png)



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

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

-- Commit Summary --

  * Manual payout tool: prevent absurdly high fee payout

-- File Changes --

    M desktop/src/main/java/bisq/desktop/main/overlays/windows/ManualPayoutTxWindow.java (19)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/5099.patch
https://github.com/bisq-network/bisq/pull/5099.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/5099
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210121/a9941f71/attachment-0001.htm>


More information about the bisq-github mailing list