Skip to content

Commit

Permalink
Make dump_htlcs SUPERVERBOSE
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed May 30, 2018
1 parent 402125a commit 000d756
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions channeld/full_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ static void dump_htlc(const struct htlc *htlc, const char *prefix)

void dump_htlcs(const struct channel *channel, const char *prefix)
{
#ifdef SUPERVERBOSE
struct htlc_map_iter it;
const struct htlc *htlc;

Expand All @@ -121,6 +122,7 @@ void dump_htlcs(const struct channel *channel, const char *prefix)
htlc = htlc_map_next(channel->htlcs, &it)) {
dump_htlc(htlc, prefix);
}
#endif
}

/* Returns up to three arrays:
Expand Down

0 comments on commit 000d756

Please sign in to comment.