From: David ‘Bombe’ Roden Date: Wed, 13 Oct 2010 14:13:22 +0000 (+0200) Subject: Generate key without docname. X-Git-Tag: 0.1-RC1~468 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8d732cc4f2bd4367446768e1de64d6af5a3aca15;p=Sone.git Generate key without docname. --- 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() }; }