diff --git a/daemon/db.c b/daemon/db.c index c8ee0686b..1a3b7b615 100644 --- a/daemon/db.c +++ b/daemon/db.c @@ -1575,7 +1575,7 @@ void db_update_htlc_state(struct peer *peer, const struct htlc *htlc, void db_update_feechange_state(struct peer *peer, const struct feechange *f, - enum htlc_state oldstate) + enum feechange_state oldstate) { const char *ctx = tal_tmpctx(peer); const char *peerid = pubkey_to_hexstr(ctx, peer->id); @@ -1593,7 +1593,7 @@ void db_update_feechange_state(struct peer *peer, } void db_remove_feechange(struct peer *peer, const struct feechange *feechange, - enum htlc_state oldstate) + enum feechange_state oldstate) { const char *ctx = tal(peer, char); const char *peerid = pubkey_to_hexstr(ctx, peer->id); diff --git a/daemon/db.h b/daemon/db.h index 9434d13fe..e24fd0a92 100644 --- a/daemon/db.h +++ b/daemon/db.h @@ -55,9 +55,9 @@ void db_resolve_invoice(struct lightningd_state *dstate, const char *label, u64 paid_num); void db_update_feechange_state(struct peer *peer, const struct feechange *f, - enum htlc_state oldstate); + enum feechange_state oldstate); void db_remove_feechange(struct peer *peer, const struct feechange *feechange, - enum htlc_state oldstate); + enum feechange_state oldstate); void db_new_commit_info(struct peer *peer, enum side side, const struct sha256 *prev_rhash); void db_remove_their_prev_revocation_hash(struct peer *peer);