fix(createNode()): Updating RSA to Ed25519 keys

This commit is contained in:
Chris Troutner
2024-01-29 07:57:32 -08:00
parent 07071032bc
commit bcb70edf2b
4 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ class IpfsAdapter {
try {
peerId = await chain.exportPeerId('myKey')
} catch (err) {
await chain.createKey('myKey', 'RSA', 4096)
await chain.createKey('myKey', 'Ed25519', 4096)
peerId = await chain.exportPeerId('myKey')
}