From 8d732cc4f2bd4367446768e1de64d6af5a3aca15 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 13 Oct 2010 16:13:22 +0200 Subject: [PATCH] Generate key without docname. --- src/main/java/net/pterodactylus/sone/core/FreenetInterface.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java index f661eb5..1098069 100644 --- a/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java +++ b/src/main/java/net/pterodactylus/sone/core/FreenetInterface.java @@ -88,7 +88,7 @@ public class FreenetInterface extends AbstractService { * @return The request key at index 0, the insert key at index 1 */ public String[] generateKeyPair() { - FreenetURI[] keyPair = client.generateKeyPair("/"); + FreenetURI[] keyPair = client.generateKeyPair(""); return new String[] { keyPair[1].toString(), keyPair[0].toString() }; } -- 2.7.4