diff --git a/chord/httpnode/client.go b/chord/httpnode/client.go index 3235f6a..a5f56b1 100644 --- a/chord/httpnode/client.go +++ b/chord/httpnode/client.go @@ -80,7 +80,7 @@ func (cl *Client) Notify(ctx context.Context, n *chord.Node, s chord.Peer) error Scheme: "http", Host: addr.String(), Path: path.Join("/", cl.APIBase, "pred"), - RawQuery: url.Values{"s": {self.String()}}.Encode(), + RawQuery: url.Values{"p": {self.String()}}.Encode(), } req, err := http.NewRequestWithContext(ctx, "POST", url.String(), nil) if err != nil {