Browse Source

fix token generation

session-estimator
Mathias Buus 3 years ago
parent
commit
f55be786fd
  1. 2
      lib/io.js

2
lib/io.js

@ -315,7 +315,7 @@ class Request {
peer.ipv4.encode(state, from)
if (id) c.fixed32.encode(state, this._io.table.id)
if (token) c.fixed32.encode(state, this._io.token(this.to, 1))
if (token) c.fixed32.encode(state, this._io.token(from, 1))
if (closerNodes.length > 0) peer.ipv4Array.encode(state, closerNodes)
if (error > 0) c.uint.encode(state, error)
if (value) c.buffer.encode(state, value)

Loading…
Cancel
Save