File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -246,10 +246,7 @@ export default class AdaApi {
246246
247247 getWallets = async ( ) : Promise < Array < Wallet > > => {
248248 logger . debug ( 'AdaApi::getWallets called' ) ;
249- const {
250- getHardwareWalletLocalData,
251- getHardwareWalletsLocalData,
252- } = global . daedalus . api . localStorage ;
249+ const { getHardwareWalletsLocalData } = global . daedalus . api . localStorage ;
253250
254251 try {
255252 const wallets : Array < AdaWallet | LegacyAdaWallet > = await getWallets (
@@ -281,7 +278,9 @@ export default class AdaApi {
281278 return await Promise . all (
282279 wallets . map ( async ( wallet : AdaWallet ) => {
283280 const { id } = wallet ;
284- const walletData = await getHardwareWalletLocalData ( id ) ;
281+
282+ const walletData = hwLocalData [ id ] ;
283+
285284 return _createWalletFromServerData ( {
286285 ...wallet ,
287286 isHardwareWallet :
You can’t perform that action at this time.
0 commit comments