Commit c730e19b authored by Brian Tiger Chow's avatar Brian Tiger Chow

rm TODO (there's still one for verifying records)

parent 71392dfd
...@@ -57,7 +57,7 @@ func (s *Server) handleMessage( ...@@ -57,7 +57,7 @@ func (s *Server) handleMessage(
case dhtpb.Message_PUT_VALUE: case dhtpb.Message_PUT_VALUE:
// TODO before merging: verifyRecord(req.GetRecord()) // TODO before merging: verifyRecord(req.GetRecord())
putRoutingRecord(s.routingBackend, util.Key(req.GetKey()), req.GetRecord()) putRoutingRecord(s.routingBackend, util.Key(req.GetKey()), req.GetRecord())
return p, req // TODO before merging: verify that we should return record return p, req
case dhtpb.Message_FIND_NODE: case dhtpb.Message_FIND_NODE:
p := s.peerstore.PeerInfo(peer.ID(req.GetKey())) p := s.peerstore.PeerInfo(peer.ID(req.GetKey()))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment