From c28a1b61881c34fcc1228d4600f5bb4aa0b81b53 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 18 Sep 2024 11:57:54 -0700 Subject: account update and delete --- lib/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/utils.ts') 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); } -- cgit v1.2.3