File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
wallet/wallet-controller/src Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -636,7 +636,7 @@ where
636636 } ,
637637 #[ cfg( feature = "ledger" ) ]
638638 HardwareWalletFullInfo :: Ledger ( ledger_data) => WalletExtraInfo :: LedgerWallet {
639- app_version : ledger_data. app_version . to_string ( ) ,
639+ app_version : ledger_data. app_version . clone ( ) ,
640640 model : ledger_data. model . to_string ( ) ,
641641 } ,
642642 } ,
Original file line number Diff line number Diff line change @@ -1833,6 +1833,10 @@ where
18331833 RuntimeWallet :: Trezor ( w) => {
18341834 w. get_orders ( account_index) ?. map ( |( id, data) | ( * id, data. clone ( ) ) ) . collect ( )
18351835 }
1836+ #[ cfg( feature = "ledger" ) ]
1837+ RuntimeWallet :: Ledger ( w) => {
1838+ w. get_orders ( account_index) ?. map ( |( id, data) | ( * id, data. clone ( ) ) ) . collect ( )
1839+ }
18361840 } ;
18371841 Ok ( orders)
18381842 }
You can’t perform that action at this time.
0 commit comments