updated how we search for nodes

This commit is contained in:
pb
2025-05-15 10:27:28 +02:00
parent cb2e4f6028
commit 5069b3455a
3 changed files with 6 additions and 4 deletions

View File

@@ -347,7 +347,7 @@ func (c *AdmiraltyController) GetNodeReady(){
return
}
node, err := serv.GetOneNode(c.Ctx.Request.Context(),execution)
node, err := serv.GetOneNode(c.Ctx.Request.Context(),execution, peerId)
if err != nil {
// change code to 500
c.Ctx.Output.SetStatus(500)