Remove unused parameter ci in db_send_local_revoke(..., const struct commit_info *ci)

This commit is contained in:
practicalswift 2018-02-21 17:03:24 +01:00 committed by Christian Decker
parent 31fed45d10
commit 2e7791f798

View File

@ -275,8 +275,7 @@ static void db_send_remote_commit(struct database *db,
db->remote.order = ++db->last_sent;
}
static void db_send_local_revoke(struct database *db,
const struct commit_info *ci)
static void db_send_local_revoke(struct database *db)
{
db->last_sent++;
}
@ -770,7 +769,7 @@ static void send_revoke(struct peer *peer, struct commit_info *ci)
if (!change_htlcs(peer, changes, true))
errx(1, "%s: update_revocation: no changes?", peer->name);
db_send_local_revoke(&peer->db, ci);
db_send_local_revoke(&peer->db);
xmit_revoke(peer, ci->number);
}