fix(wallet): start transfer controller to activate leftovers cleanup

This commit is contained in:
Ivan Belyakov 2023-11-30 06:59:55 +01:00 committed by IvanBelyakoff
parent 79f0d8a5ec
commit 9acabc6995
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ func NewService(
transactionManager := transfer.NewTransactionManager(db, gethManager, transactor, config, accountsDB, pendingTxManager, feed) transactionManager := transfer.NewTransactionManager(db, gethManager, transactor, config, accountsDB, pendingTxManager, feed)
transferController := transfer.NewTransferController(db, accountsDB, rpcClient, accountFeed, feed, transactionManager, pendingTxManager, transferController := transfer.NewTransferController(db, accountsDB, rpcClient, accountFeed, feed, transactionManager, pendingTxManager,
tokenManager, balanceCacher) tokenManager, balanceCacher)
transferController.Start()
cryptoCompare := cryptocompare.NewClient() cryptoCompare := cryptocompare.NewClient()
coingecko := coingecko.NewClient() coingecko := coingecko.NewClient()
marketManager := market.NewManager(cryptoCompare, coingecko, feed) marketManager := market.NewManager(cryptoCompare, coingecko, feed)