fix: use privateKey not publicKeyRaw

This commit is contained in:
Derrick Hammer 2023-09-01 04:10:02 -04:00
parent 2f40a56c34
commit 78bee5c47b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ const plugin = {
const db = new Level<string, Uint8Array>(dbPath);
await db.open();
let config = {
keyPair: createKeyPair(api.identity.publicKeyRaw),
keyPair: createKeyPair(api.identity.privateKey),
db,
p2p: {
peers: {