You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The NodesGetAll handler needs to be fixed. I did a monkey patch while testing and it needs to be applied to Polykey.
// client/handlers/NodesgetAll.tsforawait(const[index,bucket]ofnodeGraph.getBuckets()){for(const[id,info]ofbucket){constencodedId=nodesUtils.encodeNodeId(id);// For every node in every bucket, add it to our messageif(ctx.signal.aborted)throwctx.signal.reason;yield{bucketIndex: index,nodeIdEncoded: encodedId,host: info.address.host,port: info.address.port,};}}
Describe the bug
The
NodesGetAll
handler needs to be fixed. I did a monkey patch while testing and it needs to be applied toPolykey
.Originally posted by @tegefaulkes in MatrixAI/Polykey-CLI#44 (comment)
To Reproduce
nodes getall
in Polykey-CLI.Expected behavior
Shouldn't throw an error and succeed.
The text was updated successfully, but these errors were encountered: