Revert setting of deposit tx id to null

This commit is contained in:
Christoph Atteneder 2020-02-10 13:15:12 +01:00
parent ac7d636402
commit 834e00fbb9
No known key found for this signature in database
GPG Key ID: CD5DC1C529CDFD3B
2 changed files with 1 additions and 4 deletions

View File

@ -70,7 +70,7 @@ public class PublishTradeStatistics extends TradeTask {
trade.getTradePrice(),
trade.getTradeAmount(),
trade.getDate(),
null,
trade.getDepositTxId(),
extraDataMap);
processModel.getP2PService().addPersistableNetworkPayload(tradeStatistics, true);
}

View File

@ -47,7 +47,6 @@ import org.bitcoinj.utils.Fiat;
import com.google.common.base.Charsets;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Map;
import java.util.Optional;
@ -71,8 +70,6 @@ public final class TradeStatistics2 implements ProcessOncePersistableNetworkPayl
public static final String MEDIATOR_ADDRESS = "medAddr";
public static final String REFUND_AGENT_ADDRESS = "refAddr";
public static final Date CUT_OFF_DATE_FOR_DEPOSIT_TX_ID = Utilities.getUTCDate(2019, GregorianCalendar.FEBRUARY, 13);
private final OfferPayload.Direction direction;
private final String baseCurrency;
private final String counterCurrency;