mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-12-10 21:49:00 -05:00
change data type of maxTradePeriod to long
This commit is contained in:
parent
ed4d643fab
commit
86405a4b88
14 changed files with 16 additions and 21 deletions
|
|
@ -108,7 +108,7 @@ public abstract class PaymentMethodForm {
|
|||
public static void addAllowedPeriod(GridPane gridPane, int gridRow,
|
||||
@Nullable PaymentAccountContractData paymentAccountContractData, String dateFromBlocks) {
|
||||
if (paymentAccountContractData != null) {
|
||||
long hours = paymentAccountContractData.getMaxTradePeriod() / 6;
|
||||
long hours = paymentAccountContractData.getMaxTradePeriod() / 3600;
|
||||
String displayText;
|
||||
if (hours == 1)
|
||||
displayText = hours + " hour";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue