aboutsummaryrefslogtreecommitdiffstats
path: root/routes/bitcoin
diff options
context:
space:
mode:
Diffstat (limited to 'routes/bitcoin')
-rw-r--r--routes/bitcoin/receive.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/routes/bitcoin/receive.js b/routes/bitcoin/receive.js
index 12eb760e..e0e3828b 100644
--- a/routes/bitcoin/receive.js
+++ b/routes/bitcoin/receive.js
@@ -77,11 +77,6 @@ zmqRawTx.on("message", async (topic, message, sequence) => {
if (config.bitcoin.walletpass)
await bc.walletPassphrase(config.bitcoin.walletpass, 300);
- user.address = await bc.getNewAddress("", "bech32");
- await user.save();
-
- addresses[user.address] = user.username;
-
let totalOutputs = tx.outs.reduce((a, b) => a + b.value, 0);
let totalInputs = 0;
for (let i = 0; i < tx.ins.length; i++) {