2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-15 18:13:00 +00:00
RTL/routes/lnd/message.js
Shahana Farooqui d41e6d4a46 Sign/Verify Message #240
Sign/Verify Message #240
2020-02-07 17:20:40 -05:00

10 lines
342 B
JavaScript

const MessagesController = require("../../controllers/lnd/message");
const express = require("express");
const router = express.Router();
const authCheck = require("../authCheck");
router.post("/sign", authCheck, MessagesController.signMessage);
router.post("/verify", authCheck, MessagesController.verifyMessage);
module.exports = router;