mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-27 08:31:00 +01:00
- Make all PaymentMethod constructors private - Use PaymentMethod.getPaymentMethodById in Offer for getting the PaymentMethod. This change a bit the context as now we always create the PaymentMethod from the actual code base in contrast to the data which have been used when creating the offer. As our fields as final and must not change in software updates it should have no issues but we have to keep that in mind to not alter the default values. - Added a runtimeException in case the maxTradeLimit does not match one of our default values. - Use PaymentMethod.getDummyPaymentMethod(GUIUtil.SHOW_ALL_FLAG) instead of new PaymentMethod(GUIUtil.SHOW_ALL_FLAG)) |
||
---|---|---|
.. | ||
main | ||
test |