diff options
| author | Adam Soltys <[email protected]> | 2020-08-11 09:18:26 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-08-11 09:18:26 -0700 |
| commit | 3980fec05509a060ac41f98b4dd126a13e4bc9cd (patch) | |
| tree | eacb00d0f3cc42a5216baa654b8e23b96a2e64d3 /routes/payments.js | |
| parent | f89b0ffde25292909bd398430e84e6c693084582 (diff) | |
| download | coinos-server-3980fec05509a060ac41f98b4dd126a13e4bc9cd.tar.gz coinos-server-3980fec05509a060ac41f98b4dd126a13e4bc9cd.zip | |
non-custodial sends
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")); |
