From 1ac8f4279e0e53e2d4e18b59ff4b54acee2d2c57 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 15 Dec 2022 13:35:30 -0800 Subject: prettier --- lib/utils.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/utils.js') diff --git a/lib/utils.js b/lib/utils.js index c9670339..45e50243 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -166,8 +166,8 @@ export const derivePayRequest = async ({ amount, memo, tip }) => { if (!tip) tip = 0; let value = amount + tip; - if (!memo) memo = "coinos"; - return ( - await ln.invoice(value ? `${value}sat` : "any", new Date(), memo, 360) - ).bolt11; + if (!memo) memo = "coinos"; + return ( + await ln.invoice(value ? `${value}sat` : "any", new Date(), memo, 360) + ).bolt11; }; -- cgit v1.2.3