mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
Fix -Wenum-conversion
This commit is contained in:
parent
33d6cbe6bc
commit
c163fe04ac
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user