*dependency updates

This commit is contained in:
Derrick Hammer 2022-07-22 19:51:11 -04:00
parent 693081c740
commit 330866c1e8
2 changed files with 4 additions and 4 deletions

View File

@ -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",

View File

@ -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.");
}