()
| 712 | * Gets the mnemonic of the user's primary keyring. |
| 713 | */ |
| 714 | const getPrimaryKeyringMnemonic = () => { |
| 715 | const [keyring]: any = keyringController.getKeyringsByType( |
| 716 | KeyringTypes.hd, |
| 717 | ); |
| 718 | if (!keyring.mnemonic) { |
| 719 | throw new Error('Primary keyring mnemonic unavailable.'); |
| 720 | } |
| 721 | |
| 722 | return keyring.mnemonic; |
| 723 | }; |
| 724 | |
| 725 | const getAppState = () => { |
| 726 | const state = AppState.currentState; |
nothing calls this directly
no outgoing calls
no test coverage detected