diff options
Diffstat (limited to 'other')
-rw-r--r-- | other/DHT_bootstrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/other/DHT_bootstrap.c b/other/DHT_bootstrap.c index 5f04e415..60298544 100644 --- a/other/DHT_bootstrap.c +++ b/other/DHT_bootstrap.c | |||
@@ -71,7 +71,7 @@ static void manage_keys(DHT *dht) | |||
71 | } | 71 | } |
72 | 72 | ||
73 | dht_set_self_public_key(dht, keys); | 73 | dht_set_self_public_key(dht, keys); |
74 | dht_set_self_public_key(dht, keys + CRYPTO_PUBLIC_KEY_SIZE); | 74 | dht_set_self_secret_key(dht, keys + CRYPTO_PUBLIC_KEY_SIZE); |
75 | printf("Keys loaded successfully.\n"); | 75 | printf("Keys loaded successfully.\n"); |
76 | } else { | 76 | } else { |
77 | memcpy(keys, dht_get_self_public_key(dht), CRYPTO_PUBLIC_KEY_SIZE); | 77 | memcpy(keys, dht_get_self_public_key(dht), CRYPTO_PUBLIC_KEY_SIZE); |