From 7fb75040463a498e1724c2e81538bef8162c6084 Mon Sep 17 00:00:00 2001 From: woodser Date: Sun, 20 Jul 2025 16:33:50 -0400 Subject: [PATCH] revert 5ca44c4 payment method mappings and add note for new methods only (#1873) --- .../java/haveno/core/trade/statistics/TradeStatistics3.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/haveno/core/trade/statistics/TradeStatistics3.java b/core/src/main/java/haveno/core/trade/statistics/TradeStatistics3.java index 4e581b8291..5d7cfead47 100644 --- a/core/src/main/java/haveno/core/trade/statistics/TradeStatistics3.java +++ b/core/src/main/java/haveno/core/trade/statistics/TradeStatistics3.java @@ -121,6 +121,7 @@ public final class TradeStatistics3 implements ProcessOncePersistableNetworkPayl // The payment method string can be quite long and would consume 15% more space. // When we get a new payment method we can add it to the enum at the end. Old users would add it as string if not // recognized. + // NOTE: Only ***UNUSED*** payment methods can be added here, otherwise historical stats will have a different hash than new stats. private enum PaymentMethodMapper { OK_PAY, CASH_APP, @@ -178,9 +179,7 @@ public final class TradeStatistics3 implements ProcessOncePersistableNetworkPayl TRANSFERWISE_USD, ACH_TRANSFER, DOMESTIC_WIRE_TRANSFER, - PAYPAL, - PAYSAFE, - CASH_AT_ATM + PAYPAL } @Getter