mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-11 11:34:26 +00:00
Fix selector lib only grabbing from static nodes
This commit is contained in:
parent
3952380363
commit
be88aaabb0
@ -109,7 +109,7 @@ export function getNodeConfig(state: AppState): StaticNodeConfig | CustomNodeCon
|
||||
}
|
||||
|
||||
export function getNodeLib(state: AppState) {
|
||||
const config = getStaticNodeConfig(state);
|
||||
const config = getNodeConfig(state);
|
||||
if (!config) {
|
||||
throw Error('No node lib found when trying to select from state');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user