diff options
| author | Adam Soltys <[email protected]> | 2022-09-05 20:38:22 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-05 20:38:22 -0700 |
| commit | 39fd8f38c7c9e3d231f7347ea51f79812fd524da (patch) | |
| tree | f6deb8c7a8cd6539c46e3331e3b4b6e953c4bef6 /routes/bitcoin | |
| parent | a5080abb26a1dbb65c6d0889d30ad58f2098dae7 (diff) | |
| download | coinos-server-39fd8f38c7c9e3d231f7347ea51f79812fd524da.tar.gz coinos-server-39fd8f38c7c9e3d231f7347ea51f79812fd524da.zip | |
custom loader
Diffstat (limited to 'routes/bitcoin')
| -rw-r--r-- | routes/bitcoin/broadcast.js | 2 | ||||
| -rw-r--r-- | routes/bitcoin/fee.js | 2 | ||||
| -rw-r--r-- | routes/bitcoin/receive.js | 6 | ||||
| -rw-r--r-- | routes/bitcoin/send.js | 4 | ||||
| -rw-r--r-- | routes/bitcoin/sweep.js | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/routes/bitcoin/broadcast.js b/routes/bitcoin/broadcast.js index 185db283..2bf61049 100644 --- a/routes/bitcoin/broadcast.js +++ b/routes/bitcoin/broadcast.js @@ -1,4 +1,4 @@ -import store from "../../lib/store.js"; +import store from "$lib/store.js"; export default async (req, res) => { try { const { user } = req; diff --git a/routes/bitcoin/fee.js b/routes/bitcoin/fee.js index 35ca4e3d..f701752d 100644 --- a/routes/bitcoin/fee.js +++ b/routes/bitcoin/fee.js @@ -1,4 +1,4 @@ -import buildTx from "../../lib/buildtx.js"; +import buildTx from "$lib/buildtx.js"; export default async (req, res) => { let { user } = req; diff --git a/routes/bitcoin/receive.js b/routes/bitcoin/receive.js index 449e3984..1391a7d6 100644 --- a/routes/bitcoin/receive.js +++ b/routes/bitcoin/receive.js @@ -1,6 +1,6 @@ -import { rates } from "../../lib/store.js"; -import { notify } from "../../lib/notifications.js"; -import { callWebhook } from "../../lib/webhooks.js"; +import { rates } from "$lib/store.js"; +import { notify } from "$lib/notifications.js"; +import { callWebhook } from "$lib/webhooks.js"; import reverse from 'buffer-reverse'; import zmq from 'zeromq/v5-compat.js'; import { Op } from '@sequelize/core'; diff --git a/routes/bitcoin/send.js b/routes/bitcoin/send.js index 5cecde32..34f27ac8 100644 --- a/routes/bitcoin/send.js +++ b/routes/bitcoin/send.js @@ -1,5 +1,5 @@ -import store from "../../lib/store.js"; -import config from "../../config/index.js"; +import store from "$lib/store.js"; +import config from "$config/index.js"; const btc = config.liquid.btcasset; import { computeConversionFee, diff --git a/routes/bitcoin/sweep.js b/routes/bitcoin/sweep.js index eecfebe4..4d399c0d 100644 --- a/routes/bitcoin/sweep.js +++ b/routes/bitcoin/sweep.js @@ -1,5 +1,5 @@ -import config from "../../config/index.js"; -import { prod } from "../../lib/utils.js"; +import config from "$config/index.js"; +import { prod } from "$lib/utils.js"; import axios from "axios"; import bitcoin from "bitcoinjs-lib"; import coinselect from "coinselect"; |
