diff --git a/package.json b/package.json index 66ce3ae..49e893a 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "hsd": "https://github.com/LumeWeb/hsd.git#spv-namestate", "jayson": "^3.6.6", "json-stable-stringify": "^1.0.1", - "libskynet": "^0.0.48", + "libskynet": "^0.0.62", "libskynetnode": "^0.1.3", "minimatch": "^5.1.0", "msgpackr": "^1.6.1", diff --git a/src/dht.ts b/src/dht.ts index 742d70a..eee7659 100644 --- a/src/dht.ts +++ b/src/dht.ts @@ -5,7 +5,7 @@ const DHT = require("@hyperswarm/dht"); import { errorExit } from "./util.js"; import { deriveMyskyRootKeypair, - ed25519Keypair, + Ed25519Keypair, seedPhraseToSeed, validSeedPhrase, } from "libskynet"; @@ -18,14 +18,14 @@ let node: { on: any; }; let server: { - listen: (arg0: ed25519Keypair) => any; + listen: (arg0: Ed25519Keypair) => any; on: any; }; async function start() { const seed = config.str("relay-seed"); - let [, err] = validSeedPhrase(seed); + let err = validSeedPhrase(seed); if (err !== null) { errorExit("RELAY_SEED is invalid. Aborting."); }