8d375fa

Branches > namespace-reorganization > 8d375fa > files

Rename missed packet id specs

Grahp, 2026-07-08

Commit: 8d375fa797c43e95e68135a2e668ee5c6ab0dbcb
Parent: e2093ff

1 changed file:

src/net/bowmap/network/message/server.clj modified (view file)

@@ -39,7 +39,7 @@      id]))  ; TODO document why ids are enumerated like this?-(def ^{:spec (s/map-of (s/schema [::state/connection-state ::pk/id]) ::msg/id)}+(def ^{:spec (s/map-of (s/schema [::state/connection-state ::msg/numeric-id]) ::msg/id)}   numeric-ids   (build-message-id-map     {::state/handshaking@@ -286,7 +286,7 @@     4. The contents of 'buf' are not a valid packet"   [packet state]   (let [numeric-id (->varint packet)-        message-id (numeric-ids {::state/connection-state state ::pk/id numeric-id})+        message-id (req! numeric-ids {::state/connection-state state ::msg/numeric-id numeric-id})         reader (req! packets message-id)]     (adorn (reader packet) "Error while calling packet reader" {:numeric-id numeric-id :packet-id message-id :reader reader})))