aboutsummaryrefslogtreecommitdiffstats
path: root/routes/payments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-05-29 17:33:10 -0700
committerAdam Soltys <[email protected]>2020-05-29 17:33:10 -0700
commit2b59255e7350c6e359263808b2af263ef374285a (patch)
tree7191e93df0301cf82356050f7d5c62eb5d2d2726 /routes/payments.js
parent67aa0ec59889f5b0b2d90a96384cfcb7e58d7a07 (diff)
downloadcoinos-server-2b59255e7350c6e359263808b2af263ef374285a.tar.gz
coinos-server-2b59255e7350c6e359263808b2af263ef374285a.zip
private key sweep
Diffstat (limited to 'routes/payments.js')
-rw-r--r--routes/payments.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/payments.js b/routes/payments.js
index ab35c9a0..9586a9a8 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -40,6 +40,7 @@ const { join } = require("path");
if (config.bitcoin) {
bc = new BitcoinCore(config.bitcoin);
+ app.post("/bitcoin/sweep", auth, require("./bitcoin/sweep"));
app.post("/bitcoin/fee", auth, require("./bitcoin/fee"));
app.post("/bitcoin/send", auth, require("./bitcoin/send"));
require("./bitcoin/receive");