common: cleanup unsused parameter in timer_expired()

This commit is contained in:
Simon Vrouwe
2021-12-06 16:45:50 +02:00
committed by Rusty Russell
parent f936fa926f
commit 605fda7214
9 changed files with 10 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ void *io_loop_with_timers(struct lightningd *ld)
/* This routine is legal in early startup, too. */
if (ld->wallet)
db_begin_transaction(ld->wallet->db);
timer_expired(ld, expired);
timer_expired(expired);
if (ld->wallet)
db_commit_transaction(ld->wallet->db);
}