Skip to content

Commit

Permalink
remove unused injection, add uusdt.figure.se to historical price fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
nullpointer0x00 committed Oct 1, 2024
1 parent 7a20c3f commit 5d132b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ import javax.servlet.ServletOutputStream
@Service
class TokenService(
private val accountClient: AccountGrpcClient,
private val flowApiGrpcClient: FlowApiGrpcClient,
private val historicalPriceFetcherFactory: HistoricalPriceFetcherFactory
) {
protected val logger = logger(TokenService::class)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class HistoricalPriceFetcherFactory(
fun createNhashFetchers(): List<HistoricalPriceFetcher> {
return listOf(
OsmosisPriceFetcher(),
FlowApiPriceFetcher(UTILITY_TOKEN, listOf("uusd.trading", "uusdc.figure.se"), flowApiGrpcClient)
FlowApiPriceFetcher(UTILITY_TOKEN, listOf("uusd.trading", "uusdc.figure.se", "uusdt.figure.se"), flowApiGrpcClient)
)
}

Expand Down

0 comments on commit 5d132b9

Please sign in to comment.