mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-10-31 09:20:27 +00: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;
|