mirror of
https://github.com/kvazar-network/keva-stratum.git
synced 2025-01-26 23:04:42 +00:00
Used json_rpc path.
This commit is contained in:
parent
f579a2bd10
commit
182d3ab146
@ -54,8 +54,7 @@ type JSONRpcResp struct {
|
||||
}
|
||||
|
||||
func NewRPCClient(cfg *pool.Upstream) (*RPCClient, error) {
|
||||
//rawUrl := fmt.Sprintf("http://%s:%v/json_rpc", cfg.Host, cfg.Port)
|
||||
rawUrl := fmt.Sprintf("http://%s:%v", cfg.Host, cfg.Port)
|
||||
rawUrl := fmt.Sprintf("http://%s:%v/json_rpc", cfg.Host, cfg.Port)
|
||||
url, err := url.Parse(rawUrl)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
x
Reference in New Issue
Block a user