diff options
author | Dimitri Staessens <[email protected]> | 2022-02-15 22:03:17 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2022-02-17 08:28:56 +0100 |
commit | 6804b725dcc99437e8dc1330447330b08e3c39b8 (patch) | |
tree | 9f91ac26dcc516171fbf8bec99ee9c058d087afb /src/irmd/main.c | |
parent | 4aae321f11e3087d4e4bf65f945e5800f1d4f2c5 (diff) | |
download | ouroboros-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/irmd/main.c')
0 files changed, 0 insertions, 0 deletions