From 609183739acdeda457069ad12fcf0b949f80301d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 25 Mar 2024 18:10:27 -0700 Subject: include tip in bip21 --- lib/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.js b/lib/utils.js index 89217dfa..dfc9f3c1 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -37,7 +37,7 @@ export let bip21 = (address, { amount, memo, tip, type }) => { let url = new URLSearchParams(); if (amount) { - url.append("amount", btc(amount)); + url.append("amount", btc(amount+tip)); if (type === "liquid") url.append("assetid", config.liquid.btc); } -- cgit v1.2.3