diff --git a/fluffy/rpc/rpc_portal_api.nim b/fluffy/rpc/rpc_portal_api.nim index 85929da8e..c468f325c 100644 --- a/fluffy/rpc/rpc_portal_api.nim +++ b/fluffy/rpc/rpc_portal_api.nim @@ -71,7 +71,7 @@ proc installPortalApiHandlers*( p.routingTable.removeNode(node.get()) return true else: - raise newException(ValueError, "Record not in local routing table.") + return false rpcServer.rpc("portal_" & network & "LookupEnr") do(nodeId: NodeId) -> Record: let lookup = await p.resolve(nodeId)