mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 09:50:36 +01:00
d41e6d4a46
Sign/Verify Message #240
10 lines
342 B
JavaScript
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;
|