From 3980fec05509a060ac41f98b4dd126a13e4bc9cd Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 11 Aug 2020 09:18:26 -0700 Subject: non-custodial sends --- routes/payments.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'routes/payments.js') diff --git a/routes/payments.js b/routes/payments.js index c46af90e..ca479026 100644 --- a/routes/payments.js +++ b/routes/payments.js @@ -8,6 +8,7 @@ const read = require("../lib/read"); ah(async () => { seen = []; addresses = {}; + change = []; issuances = {}; const exceptions = []; @@ -112,6 +113,7 @@ ah(async () => { if (config.bitcoin) { bc = new BitcoinCore(config.bitcoin); + app.post("/bitcoin/broadcast", optionalAuth, require("./bitcoin/broadcast")); app.get("/bitcoin/generate", auth, require("./bitcoin/generate")); app.post("/bitcoin/sweep", auth, require("./bitcoin/sweep")); app.post("/bitcoin/fee", auth, require("./bitcoin/fee")); -- cgit v1.2.3