55 "database/sql"
66 "encoding/json"
77 "errors"
8- "fmt"
98 "net/http"
109 "sync"
1110 "time"
@@ -21,7 +20,6 @@ import (
2120 "github.com/status-im/status-go/services/wallet/common"
2221 "github.com/status-im/status-go/services/wallet/multistandardbalance"
2322 "github.com/status-im/status-go/services/wallet/pendingtxtracker"
24- "github.com/status-im/status-go/services/wallet/thirdparty/market/cryptocompare"
2523 "github.com/status-im/status-go/services/wallet/tokenbalances"
2624 "github.com/status-im/status-go/services/wallet/transferdetector"
2725
@@ -131,7 +129,6 @@ func NewService(
131129 feed * event.Feed ,
132130 mediaServer * server.MediaServer ,
133131 tokenManager * token.Manager ,
134- statusProxyStageName string ,
135132) (* Service , error ) {
136133 signals := & walletevent.SignalsTransmitter {
137134 Publisher : feed ,
@@ -159,20 +156,13 @@ func NewService(
159156 onramp .NewMoonPayProvider (),
160157 }
161158
162- cryptoCompare := cryptocompare .NewClient ()
163159 coingeckoClient := coingecko .NewClientWithParams (coingecko.Params {
164160 CoingeckoAPIKey : config .WalletConfig .CoingeckoAPIKey ,
165161 CoingeckoDemoAPIKey : config .WalletConfig .CoingeckoDemoAPIKey ,
166162 })
167163 coingeckoProxy := createCoingeckoProxyClient (config .WalletConfig .MarketDataProxyConfig )
168- cryptoCompareProxy := cryptocompare .NewClientWithParams (cryptocompare.Params {
169- ID : fmt .Sprintf ("%s-proxy" , cryptoCompare .ID ()),
170- URL : fmt .Sprintf ("https://%s.api.status.im/cryptocompare/" , statusProxyStageName ),
171- User : config .WalletConfig .StatusProxyMarketUser ,
172- Password : config .WalletConfig .StatusProxyMarketPassword ,
173- })
174164 marketProviders = []thirdparty.MarketDataProvider {
175- coingeckoProxy , coingeckoClient , cryptoCompare , cryptoCompareProxy ,
165+ coingeckoProxy , coingeckoClient ,
176166 }
177167
178168 raribleClient := rarible .NewClient (config .WalletConfig .RaribleMainnetAPIKey , config .WalletConfig .RaribleTestnetAPIKey )
0 commit comments