Ride-The-Lightning-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;