fix: use privateKey not publicKeyRaw
This commit is contained in:
parent
2f40a56c34
commit
78bee5c47b
|
@ -27,7 +27,7 @@ const plugin = {
|
||||||
const db = new Level<string, Uint8Array>(dbPath);
|
const db = new Level<string, Uint8Array>(dbPath);
|
||||||
await db.open();
|
await db.open();
|
||||||
let config = {
|
let config = {
|
||||||
keyPair: createKeyPair(api.identity.publicKeyRaw),
|
keyPair: createKeyPair(api.identity.privateKey),
|
||||||
db,
|
db,
|
||||||
p2p: {
|
p2p: {
|
||||||
peers: {
|
peers: {
|
||||||
|
|
Loading…
Reference in New Issue