Skip to content

Commit df77e87

Browse files
authored
fix: Correct Lighting withdrawal invoice amount (#6476)
1 parent f99ade3 commit df77e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kit/src/views/LightningNetwork/pages/Send/LnurlWithdrawModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function LnurlWithdrawModal() {
9393
const { serviceLightning } = backgroundApiProxy;
9494
const formValue = useFormReturn.getValues();
9595

96-
const amount = new BigNumber(formValue.amount).times(1000).toNumber(); // convert to millisatoshis
96+
const amount = new BigNumber(formValue.amount).toNumber();
9797
try {
9898
const invoice = await serviceLightning.createInvoice({
9999
networkId,

0 commit comments

Comments
 (0)