Skip to content

Commit 8459c19

Browse files
committed
fix lightning budget
1 parent cbc3da8 commit 8459c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ pub async fn pay_lightning(
122122
.payments
123123
.add_payment(
124124
x_forwarded_for,
125-
invoice.amount_milli_satoshis().unwrap_or(0),
125+
invoice.amount_milli_satoshis().unwrap_or(0) / 1000,
126126
)
127127
.await;
128128

0 commit comments

Comments
 (0)