diff options
Diffstat (limited to 'routes/payments.js')
| -rw-r--r-- | routes/payments.js | 2 |
1 files changed, 2 insertions, 0 deletions
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")); |
