mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +01:00
Make dump_htlcs SUPERVERBOSE
This commit is contained in:
parent
402125a70e
commit
620e199cb3
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue