2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-17 15:29:30 +00:00
RTL/routes/lnd/wallet.js
Shahana Farooqui 9f36e78e9f InitWallet with Passphrase fixes
InitWallet with Passphrase fixes
2019-11-06 16:37:04 -05:00

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;