@@ -76,7 +76,7 @@ public void Awake()
7676 this . initParams = new Dictionary < string , object > ( ) ;
7777
7878 this . initParams [ "clientId" ] = clientId ;
79- this . initParams [ "network" ] = network . ToString ( ) . ToLower ( ) ;
79+ this . initParams [ "network" ] = network . ToString ( ) . ToLowerInvariant ( ) ;
8080
8181 if ( ! string . IsNullOrEmpty ( redirectUri ) )
8282 this . initParams [ "redirectUrl" ] = redirectUri ;
@@ -126,9 +126,9 @@ public void setOptions(Web3AuthOptions web3AuthOptions)
126126 this . initParams [ "clientId" ] = this . web3AuthOptions . clientId ;
127127
128128 if ( this . web3AuthOptions . buildEnv != null )
129- this . initParams [ "buildEnv" ] = this . web3AuthOptions . buildEnv . ToString ( ) . ToLower ( ) ;
129+ this . initParams [ "buildEnv" ] = this . web3AuthOptions . buildEnv . ToString ( ) . ToLowerInvariant ( ) ;
130130
131- this . initParams [ "network" ] = this . web3AuthOptions . network . ToString ( ) . ToLower ( ) ;
131+ this . initParams [ "network" ] = this . web3AuthOptions . network . ToString ( ) . ToLowerInvariant ( ) ;
132132
133133 if ( this . web3AuthOptions . useCoreKitKey . HasValue )
134134 this . initParams [ "useCoreKitKey" ] = this . web3AuthOptions . useCoreKitKey . Value ;
@@ -300,7 +300,8 @@ private async void processRequest(string path, LoginParams loginParams = null)
300300 if ( this . web3AuthOptions . sdkUrl . Contains ( "develop" ) )
301301 {
302302 uriBuilder . Path = "/" + "start" ;
303- } else
303+ }
304+ else
304305 {
305306 uriBuilder . Path += "/" + "start" ;
306307 }
@@ -386,8 +387,8 @@ public void setResultUrl(Uri uri)
386387 throw new UserCancelledException ( ) ;
387388#endif
388389 hash = hash . Remove ( 0 , 1 ) ;
389- Dictionary < string , string > queryParameters = Utils . ParseQuery ( uri . Query ) ;
390390
391+ Dictionary < string , string > queryParameters = Utils . ParseQuery ( uri . Query ) ;
391392 if ( queryParameters . Keys . Contains ( "error" ) )
392393 throw new UnKnownException ( queryParameters [ "error" ] ) ;
393394
0 commit comments