File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
lit-client/src/lib/LitClient
networks/src/networks/vNaga/shared/managers/state-manager Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -737,7 +737,9 @@ export const _createNagaLitClient = async (
737737 const contractManager = _stateManager . contractManager ;
738738
739739 if ( ! contractManager ) {
740- throw new Error ( 'Contract manager is not available from state manager' ) ;
740+ throw new Error (
741+ 'Contract manager is not available from state manager'
742+ ) ;
741743 }
742744
743745 const pubkeyRouterContract = contractManager . pubkeyRouterContract ;
@@ -746,7 +748,9 @@ export const _createNagaLitClient = async (
746748 ! pubkeyRouterContract ?. read ?. getDerivedPubkey ||
747749 ! contractManager . stakingContract
748750 ) {
749- throw new Error ( 'Required contracts are not available on the contract manager' ) ;
751+ throw new Error (
752+ 'Required contracts are not available on the contract manager'
753+ ) ;
750754 }
751755
752756 // TODO: support configurable key set ids per network when required
Original file line number Diff line number Diff line change @@ -235,8 +235,6 @@ export const createStateManager = async <T>(params: {
235235 eventStateManager . stop ( ) ;
236236 // clearInterval(timer);
237237 } ,
238-
239- contractManager,
240- stakingContract
238+ stakingContract,
241239 } ;
242240} ;
You can’t perform that action at this time.
0 commit comments