File tree Expand file tree Collapse file tree 2 files changed +4
-49
lines changed
packages/auth-services/src
auth-server/src/routes/pkp Expand file tree Collapse file tree 2 files changed +4
-49
lines changed Original file line number Diff line number Diff line change @@ -58,32 +58,11 @@ export async function initSystemContext({
5858 '→' ,
5959 effRpc
6060 ) ;
61- } catch { }
62-
63- const overrideRpc = rpcUrl || env . LIT_TXSENDER_RPC_URL ;
64-
65- // Apply runtime override if rpcUrl provided
66- const effectiveModule =
67- overrideRpc && typeof networkModule . withOverrides === 'function'
68- ? networkModule . withOverrides ( { rpcUrl : overrideRpc } )
69- : networkModule ;
70-
71- try {
72- const baseRpc =
73- typeof networkModule . getRpcUrl === 'function'
74- ? networkModule . getRpcUrl ( )
75- : 'n/a' ;
76- const effRpc =
77- typeof effectiveModule . getRpcUrl === 'function'
78- ? effectiveModule . getRpcUrl ( )
79- : 'n/a' ;
80- console . log (
81- '[initSystemContext] RPC (base → effective):' ,
82- baseRpc ,
83- '→' ,
84- effRpc
61+ } catch {
62+ throw new Error (
63+ `Failed to determine RPC URL from network module ${ networkModule } `
8564 ) ;
86- } catch { }
65+ }
8766
8867 const litClient = await createLitClient ( {
8968 network : effectiveModule ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments