mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-17 15:29:30 +00:00
9f36e78e9f
InitWallet with Passphrase fixes
11 lines
437 B
JavaScript
11 lines
437 B
JavaScript
const WalletController = require("../../controllers/lnd/wallet");
|
|
const express = require("express");
|
|
const router = express.Router();
|
|
const authCheck = require("../authCheck");
|
|
|
|
router.get("/genseed/:passphrase?", authCheck, WalletController.genSeed);
|
|
router.get("/updateSelNodeOptions", authCheck, WalletController.updateSelNodeOptions);
|
|
router.post("/:operation", authCheck, WalletController.operateWallet);
|
|
|
|
module.exports = router;
|