diff --git a/gui/src/main/java/io/bisq/gui/main/funds/transactions/TransactionListItemFactory.java b/gui/src/main/java/io/bisq/gui/main/funds/transactions/TransactionListItemFactory.java index 19a2a19432..1f981179c5 100644 --- a/gui/src/main/java/io/bisq/gui/main/funds/transactions/TransactionListItemFactory.java +++ b/gui/src/main/java/io/bisq/gui/main/funds/transactions/TransactionListItemFactory.java @@ -19,6 +19,7 @@ package io.bisq.gui.main.funds.transactions; import io.bisq.core.btc.wallet.BsqWalletService; import io.bisq.core.btc.wallet.BtcWalletService; +import io.bisq.core.dao.blockchain.parse.BsqBlockChain; import io.bisq.core.trade.Tradable; import io.bisq.gui.util.BSFormatter; import org.bitcoinj.core.Transaction; @@ -30,13 +31,15 @@ import java.util.Optional; public class TransactionListItemFactory { private final BtcWalletService btcWalletService; private final BsqWalletService bsqWalletService; + private final BsqBlockChain bsqBlockChain; private final BSFormatter formatter; @Inject TransactionListItemFactory(BtcWalletService btcWalletService, BsqWalletService bsqWalletService, - BSFormatter formatter) { + BsqBlockChain bsqBlockChain, BSFormatter formatter) { this.btcWalletService = btcWalletService; this.bsqWalletService = bsqWalletService; + this.bsqBlockChain = bsqBlockChain; this.formatter = formatter; } @@ -44,6 +47,6 @@ public class TransactionListItemFactory { Optional maybeTradable = Optional.ofNullable(tradable) .map(TransactionAwareTradable::asTradable); - return new TransactionsListItem(transaction, btcWalletService, bsqWalletService, maybeTradable, formatter); + return new TransactionsListItem(transaction, btcWalletService, bsqWalletService, maybeTradable, bsqBlockChain, formatter); } }