File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
ui/pages/multi-srp/import-srp Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -5311,16 +5311,16 @@ export default class MetamaskController extends EventEmitter {
5311
5311
solScope ,
5312
5312
) ;
5313
5313
5314
- discoveredAccounts . solana = solanaAccounts . length ;
5314
+ discoveredAccounts . solana = solanaAccounts . length ;
5315
5315
5316
- // If none accounts got discovered, we still create the first (default) one.
5317
- if ( solanaAccounts . length === 0 ) {
5318
- await this . _addSnapAccount ( entropySource , solanaClient , {
5319
- scope : solScope ,
5320
- } ) ;
5316
+ // If none accounts got discovered, we still create the first (default) one.
5317
+ if ( solanaAccounts . length === 0 ) {
5318
+ await this . _addSnapAccount ( entropySource , solanaClient , {
5319
+ scope : solScope ,
5320
+ } ) ;
5321
+ }
5322
+ ///: END:ONLY_INCLUDE_IF
5321
5323
}
5322
- ///: END:ONLY_INCLUDE_IF
5323
-
5324
5324
return discoveredAccounts ;
5325
5325
} catch ( e ) {
5326
5326
log . warn ( `Failed to add accounts with balance. Error: ${ e } ` ) ;
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export const ImportSrp = () => {
111
111
112
112
// Clear the secret recovery phrase after importing
113
113
setSecretRecoveryPhrase ( Array ( defaultNumberOfWords ) . fill ( '' ) ) ;
114
-
114
+
115
115
// Track the event with the discovered accounts
116
116
trackEvent ( {
117
117
event :
You can’t perform that action at this time.
0 commit comments