aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/invoices.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/invoices.ts b/lib/invoices.ts
index 71f95b8c..e6b6e146 100644
--- a/lib/invoices.ts
+++ b/lib/invoices.ts
@@ -69,7 +69,7 @@ export const generate = async ({ invoice, user }) => {
if (account.type === "ark") {
type = PaymentType.ark;
text = account.arkAddress;
- } else if (account.seed) {
+ } else if (account.seed || (account.pubkey && account.fingerprint)) {
type = PaymentType.bitcoin;
const nextIndex = account.nextIndex || 0;
const { address, path: hdpath } = deriveAddress(account.pubkey, account.fingerprint, nextIndex);