diff options
| author | Adam Soltys <[email protected]> | 2024-12-22 22:49:18 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-12-22 22:49:22 -0800 |
| commit | cc1a203be0bf65612bab0d205caa4df3563bec0b (patch) | |
| tree | 8409a5a390d8d027fce62e2d508ea01040fe7547 /lib/utils.ts | |
| parent | 1071d258bb55e3453e579b932a35b34df83ed353 (diff) | |
| download | coinos-server-cc1a203be0bf65612bab0d205caa4df3563bec0b.tar.gz coinos-server-cc1a203be0bf65612bab0d205caa4df3563bec0b.zip | |
bip21 message field
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 b1ff862b..7fc1f4e7 100644 --- a/lib/utils.ts +++ b/lib/utils.ts @@ -45,7 +45,7 @@ export const bip21 = (address, { amount, memo, tip, type }) => { if (type === "liquid") url.append("assetid", config.liquid.btc); } - if (memo) url.append("memo", memo); + if (memo) url.append("message", memo); return `${network}:${address}?${url.toString()}`; }; |
