aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/users.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/users.js b/routes/users.js
index becd8d40..71a97638 100644
--- a/routes/users.js
+++ b/routes/users.js
@@ -406,6 +406,7 @@ app.get(
"p2sh-segwit": "p2sh",
legacy: "p2pkh"
}[type];
+ if (!type) type = "p2wpkh";
let hd, i, p, n;
const mutex = new Mutex();