diff options
| author | Adam Soltys <[email protected]> | 2024-09-18 11:57:54 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-18 11:57:54 -0700 |
| commit | c28a1b61881c34fcc1228d4600f5bb4aa0b81b53 (patch) | |
| tree | 999165339608443f64ed4a179bdfec2ce0e0f931 /lib/utils.ts | |
| parent | 3a493d30daa964b8dcb0bf1c74df995d8dc9fa32 (diff) | |
| download | coinos-server-c28a1b61881c34fcc1228d4600f5bb4aa0b81b53.tar.gz coinos-server-c28a1b61881c34fcc1228d4600f5bb4aa0b81b53.zip | |
account update and delete
Diffstat (limited to 'lib/utils.ts')
| -rw-r--r-- | lib/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.ts b/lib/utils.ts index 2eab7f67..388ee6c8 100644 --- a/lib/utils.ts +++ b/lib/utils.ts @@ -38,7 +38,7 @@ export let bip21 = (address, { amount, memo, tip, type }) => { let url = new URLSearchParams(); if (amount) { - url.append("amount", btc(amount + tip)); + url.append("amount", btc(amount + tip).toFixed(8)); if (type === "liquid") url.append("assetid", config.liquid.btc); } |
