2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-11 13:10:41 +00:00
RTL/routes/lnd/wallet.js

11 lines
437 B
JavaScript
Raw Normal View History

const WalletController = require("../../controllers/lnd/wallet");
2018-09-15 01:31:01 +00:00
const express = require("express");
const router = express.Router();
const authCheck = require("../authCheck");
2018-09-15 01:31:01 +00:00
2019-05-27 18:55:09 +00:00
router.get("/genseed/:passphrase?", authCheck, WalletController.genSeed);
router.get("/updateSelNodeOptions", authCheck, WalletController.updateSelNodeOptions);
2019-01-01 16:26:51 +00:00
router.post("/:operation", authCheck, WalletController.operateWallet);
2018-09-15 01:31:01 +00:00
module.exports = router;