diff options
| author | Adam Soltys <[email protected]> | 2022-09-06 09:20:25 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-06 09:20:25 -0700 |
| commit | c2464b2407ee23134732fd67586758dbfe18f9b5 (patch) | |
| tree | 3e2d9f009bb325a9a7c4304ea02f6e64dda85bd1 /routes/users.js | |
| parent | 8a080ef9a198799e7ee31cf81f92afd5495e4074 (diff) | |
| download | coinos-server-c2464b2407ee23134732fd67586758dbfe18f9b5.tar.gz coinos-server-c2464b2407ee23134732fd67586758dbfe18f9b5.zip | |
prettier
Diffstat (limited to 'routes/users.js')
| -rw-r--r-- | routes/users.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/routes/users.js b/routes/users.js index ca1f3a02..dd62fad1 100644 --- a/routes/users.js +++ b/routes/users.js @@ -10,7 +10,7 @@ import { authenticator } from "otplib"; import getAccount from "$lib/account"; import Sequelize from "@sequelize/core"; import bitcoin from "bitcoinjs-lib"; -import liquid from 'liquidjs-lib'; +import liquid from "liquidjs-lib"; import { fromBase58, fromPrivateKey } from "bip32"; import { Mutex } from "async-mutex"; import bip32 from "bip32"; @@ -387,8 +387,7 @@ app.get("/address", async (req, res) => { const release = await mutex.acquire(); try { if (network === "bitcoin") { - if (!config.bitcoin) - return res.code(500).send("Bitcoin not configured"); + if (!config.bitcoin) return res.code(500).send("Bitcoin not configured"); address = await bc.getNewAddress("", type); store.bcAddressIndex = i + 1; |
