mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
state: include daemon/peer (only if !TEST_COVERAGE).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -927,6 +927,7 @@ bool committed_to_htlcs(const struct peer *peer)
|
||||
return peer->num_htlcs_to_them != 0 || peer->num_htlcs_to_us != 0;
|
||||
}
|
||||
|
||||
#define TEST_STATE_COVERAGE 1
|
||||
#include "state.c"
|
||||
#include <ccan/tal/tal.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user