mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-10-31 22:37:26 +00:00 
			
		
		
		
	fix: use correct querier endpoint (#659)
This commit is contained in:
		
							parent
							
								
									fe38c4aa43
								
							
						
					
					
						commit
						2e250cc750
					
				| @ -28,7 +28,7 @@ func queryParamsHandlerFn(cliCtx context.CLIContext) http.HandlerFunc { | |||||||
| 			return | 			return | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		route := fmt.Sprintf("custom/%s/parameters", types.QuerierRoute) | 		route := fmt.Sprintf("custom/%s/%s", types.QuerierRoute, types.QueryGetParams) | ||||||
| 
 | 
 | ||||||
| 		res, height, err := cliCtx.QueryWithData(route, nil) | 		res, height, err := cliCtx.QueryWithData(route, nil) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Kevin Davis
						Kevin Davis