Skip to content

Commit

Permalink
trim input data in handleAnything
Browse files Browse the repository at this point in the history
  • Loading branch information
myxmaster committed Dec 19, 2024
1 parent 9042771 commit b569743
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/handleAnything.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ const handleAnything = async (
setAmount?: string,
isClipboardValue?: boolean
): Promise<any> => {
data = data.trim();
const { nodeInfo } = nodeInfoStore;
const { isTestNet, isRegTest, isSigNet } = nodeInfo;
const { value, amount, lightning, offer }: any =
Expand Down

0 comments on commit b569743

Please sign in to comment.