diff options
| author | Adam Soltys <[email protected]> | 2024-03-25 18:10:27 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-03-25 18:10:27 -0700 |
| commit | 609183739acdeda457069ad12fcf0b949f80301d (patch) | |
| tree | 36a387f74b9f17f23acfffbe7222303a4c42321c /lib/utils.js | |
| parent | b1888aa477fe886d2857fcd3b6fa985d92d4b5fd (diff) | |
| download | coinos-server-609183739acdeda457069ad12fcf0b949f80301d.tar.gz coinos-server-609183739acdeda457069ad12fcf0b949f80301d.zip | |
include tip in bip21
Diffstat (limited to 'lib/utils.js')
| -rw-r--r-- | lib/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
