Skip to content

Commit

Permalink
better error message for websocket and https setup on jsonrpc
Browse files Browse the repository at this point in the history
  • Loading branch information
ranlavanet committed Apr 7, 2024
1 parent 3c02f81 commit 039e2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/chainlib/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func verifyRPCEndpoint(endpoint string) {
case "ws", "wss":
return
default:
utils.LavaFormatWarning("URL scheme should be websocket (ws/wss), got: "+u.Scheme, nil)
utils.LavaFormatWarning("URL scheme should be websocket (ws/wss), got: "+u.Scheme+", By not setting ws/wss your provider wont be able to accept ws subscriptions, therefore might receive less rewards and lower QOS score. if subscriptions are not applicable for this chain you can ignore this warning", nil)
}
}

Expand Down

0 comments on commit 039e2f5

Please sign in to comment.