mirror of https://github.com/certusone/oyster.git
fix: connection selection
This commit is contained in:
parent
b76f91a58d
commit
b1842c0c92
|
@ -143,7 +143,7 @@ export const PROGRAM_IDS = [
|
|||
];
|
||||
|
||||
export const setProgramIds = (envName: string) => {
|
||||
let instance = PROGRAM_IDS.find(env => env.name === envName);
|
||||
let instance = PROGRAM_IDS.find(env => envName.indexOf(env.name) >= 0);
|
||||
if (!instance) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue