Skip to content

Commit 7fb7504

Browse files
authored
revert 5ca44c4 payment method mappings and add note for new methods only (#1873)
1 parent f722ca4 commit 7fb7504

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

core/src/main/java/haveno/core/trade/statistics/TradeStatistics3.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ private static long fuzzTradeDateReproducibly(Trade trade) { // randomize compl
121121
// The payment method string can be quite long and would consume 15% more space.
122122
// 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
123123
// recognized.
124+
// NOTE: Only ***UNUSED*** payment methods can be added here, otherwise historical stats will have a different hash than new stats.
124125
private enum PaymentMethodMapper {
125126
OK_PAY,
126127
CASH_APP,
@@ -178,9 +179,7 @@ private enum PaymentMethodMapper {
178179
TRANSFERWISE_USD,
179180
ACH_TRANSFER,
180181
DOMESTIC_WIRE_TRANSFER,
181-
PAYPAL,
182-
PAYSAFE,
183-
CASH_AT_ATM
182+
PAYPAL
184183
}
185184

186185
@Getter

0 commit comments

Comments
 (0)