From b56974327ad6af42ce324a94f7a61eccbaf8479f Mon Sep 17 00:00:00 2001 From: myxmaster Date: Fri, 20 Dec 2024 00:47:49 +0100 Subject: [PATCH] trim input data in handleAnything --- utils/handleAnything.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/handleAnything.ts b/utils/handleAnything.ts index 9e93262d0..64e35b651 100644 --- a/utils/handleAnything.ts +++ b/utils/handleAnything.ts @@ -95,6 +95,7 @@ const handleAnything = async ( setAmount?: string, isClipboardValue?: boolean ): Promise => { + data = data.trim(); const { nodeInfo } = nodeInfoStore; const { isTestNet, isRegTest, isSigNet } = nodeInfo; const { value, amount, lightning, offer }: any =