mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01:00
Add new param BsqBlockChain
This commit is contained in:
parent
ee9b133f65
commit
433363b633
@ -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<Tradable> maybeTradable = Optional.ofNullable(tradable)
|
||||
.map(TransactionAwareTradable::asTradable);
|
||||
|
||||
return new TransactionsListItem(transaction, btcWalletService, bsqWalletService, maybeTradable, formatter);
|
||||
return new TransactionsListItem(transaction, btcWalletService, bsqWalletService, maybeTradable, bsqBlockChain, formatter);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user