mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Use maxTradePeriod from the PaymentMethod.
This commit is contained in:
parent
f31040ba31
commit
e0c13df89f
@ -148,7 +148,7 @@ public abstract class PaymentMethodForm {
|
||||
public static InfoTextField addOpenTradeDuration(GridPane gridPane,
|
||||
int gridRow,
|
||||
Offer offer) {
|
||||
long hours = offer.getMaxTradePeriod() / 3600_000;
|
||||
long hours = offer.getPaymentMethod().getMaxTradePeriod() / 3600_000;
|
||||
final Tuple3<Label, InfoTextField, VBox> labelInfoTextFieldVBoxTuple3 =
|
||||
addTopLabelInfoTextField(gridPane, gridRow, Res.get("payment.maxPeriod"),
|
||||
getTimeText(hours), -Layout.FLOATING_LABEL_DISTANCE);
|
||||
|
Loading…
Reference in New Issue
Block a user