fix: ensure chain is uppercase since map is indexed by it
This commit is contained in:
parent
3f5dfd4261
commit
6a3175dc7b
|
@ -40,7 +40,9 @@ async function handleQuery(aq: ActiveQuery) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { chain, query, rpcInterface = undefined } = aq.callerInput;
|
let { chain, query, rpcInterface = undefined } = aq.callerInput;
|
||||||
|
|
||||||
|
chain = chain.toUpperCase();
|
||||||
|
|
||||||
let lava: LavaSDK;
|
let lava: LavaSDK;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue