From 330866c1e85eb2b99f61d8295ba46119937a4603 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 22 Jul 2022 19:51:11 -0400 Subject: [PATCH] *dependency updates --- package.json | 2 +- src/dht.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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."); }