summaryrefslogtreecommitdiff
path: root/src/ipcpd/unicast/pff.h
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2022-02-15 22:03:17 +0100
committerSander Vrijders <[email protected]>2022-02-17 08:28:56 +0100
commit6804b725dcc99437e8dc1330447330b08e3c39b8 (patch)
tree9f91ac26dcc516171fbf8bec99ee9c058d087afb /src/ipcpd/unicast/pff.h
parent4aae321f11e3087d4e4bf65f945e5800f1d4f2c5 (diff)
downloadouroboros-6804b725dcc99437e8dc1330447330b08e3c39b8.tar.gz
ouroboros-6804b725dcc99437e8dc1330447330b08e3c39b8.zip
ipcpd: Fix initialization of hash width in DHT
The width of the Kademlia hash function (dht->b) was set only after the ID was created. This should have failed miserably, but the bytes after were fine as they were just a randomized ID in the Kademlia network. Nasty. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/unicast/pff.h')
0 files changed, 0 insertions, 0 deletions