Skip to content

Commit

Permalink
fix findSuccessorAddrs has wrong params in comment
Browse files Browse the repository at this point in the history
Signed-off-by: Yilun <zyl.skysniper@gmail.com>
yilunzhang committed Mar 8, 2024
1 parent 9afba59 commit c9773e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/common/interfaces.go
Original file line number Diff line number Diff line change
@@ -900,7 +900,7 @@ func getMyExtIP(s Serverer, params map[string]interface{}, ctx context.Context)
}

// findSuccessorAddrs find the successors of a key
// params: {"address":<address>}
// params: {"key":<key>}
// return: {"resultOrData":<result>|<error data>, "error":<errcode>}
func findSuccessorAddrs(s Serverer, params map[string]interface{}, ctx context.Context) map[string]interface{} {
if len(params) < 1 {

0 comments on commit c9773e8

Please sign in to comment.