Skip to content

Commit

Permalink
Only spam 25 events
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed Apr 8, 2024
1 parent f85959a commit 49d3a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nostr_dms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async fn handle_event(event: Event, state: AppState) -> anyhow::Result<()> {
info!("Spamming");
let lnurl = get_lnurl(event.pubkey).await?;

for _ in 0..100 {
for _ in 0..25 {
let invoice = get_invoice(&lnurl, event.pubkey, &state).await?;
pay_invoice(invoice, &state).await?;
}
Expand Down

0 comments on commit 49d3a01

Please sign in to comment.