From 92bb5f03de22c1e8ae476b61e94372d9c277177d Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 25 Sep 2015 11:51:18 +0930 Subject: [PATCH] test_state_coverage: fix dependent events. These tests are wrong, and are handled properly anyway when they fire (the other one is disabled). Signed-off-by: Rusty Russell --- test/test_state_coverage.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/test_state_coverage.c b/test/test_state_coverage.c index b0e31719f..416e48178 100644 --- a/test/test_state_coverage.c +++ b/test/test_state_coverage.c @@ -644,11 +644,6 @@ static const char *apply_effects(struct state_data *sdata, if (sdata->event_notifies & effect->watch->events) return "event set twice"; sdata->event_notifies |= effect->watch->events; - /* Events are not independent. */ - if (effect->watch->events & BITCOIN_ANCHOR_DEPTHOK) - sdata->event_notifies &= ~(1ULL<watch->events & BITCOIN_ANCHOR_TIMEOUT) - sdata->event_notifies &= ~(1ULL<unwatch) { if ((sdata->event_notifies & effect->unwatch->events)