Rusty Russell
1cd53ae53e
lightningd: fix watch on existing tx.
...
We never do this, but we're about to (we always watch before
we broadcast a tx).
We use a `depth` member to avoid calling the callback multiple times
for the same event, but we initialize it to 0. This means if we
register a watch, and the first thing that happens is that it
reorganizes out, we *don't* make the callback.
Use an impossible value at initialization, instead.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2023-10-02 11:41:19 +10:30
..
2023-10-02 11:41:19 +10:30
2023-07-11 11:41:15 +09:30
2023-06-29 11:28:47 -04:00
2023-07-28 09:21:42 +09:30
2023-07-19 19:13:57 +09:30
2023-10-02 11:41:19 +10:30
2023-07-19 19:13:57 +09:30
2023-10-02 11:41:19 +10:30
2023-10-02 11:41:19 +10:30
2023-10-02 11:41:19 +10:30
2023-10-02 11:41:19 +10:30
2023-10-02 11:41:19 +10:30
2023-03-25 15:28:02 +10:30
2023-03-25 15:28:02 +10:30
2023-10-02 11:41:19 +10:30
2023-08-02 07:09:28 +09:30
2023-10-02 11:41:19 +10:30
2023-08-08 09:45:10 +09:30
2023-10-02 11:41:19 +10:30
2023-09-21 20:08:24 +09:30
2023-07-25 14:47:12 +09:30
2023-10-02 11:41:19 +10:30
2023-10-02 11:41:19 +10:30
2023-07-09 16:49:48 +09:30
2023-04-10 07:31:12 +09:30
2023-09-21 20:08:24 +09:30
2023-09-21 20:08:24 +09:30
2023-08-08 14:31:47 +09:30
2023-07-28 10:18:32 +09:30
2023-07-26 06:55:48 +09:30
2023-09-21 20:08:24 +09:30
2023-07-26 06:55:48 +09:30
2023-09-21 20:08:24 +09:30
2023-09-21 20:08:24 +09:30
2023-09-21 20:08:24 +09:30
2023-09-21 20:08:24 +09:30
2023-07-19 19:13:57 +09:30
2023-07-19 19:13:57 +09:30
2023-09-21 13:31:34 +09:30
2023-07-19 19:13:57 +09:30
2023-07-31 11:29:59 +09:30
2023-09-21 20:08:24 +09:30
2023-10-02 11:41:19 +10:30
2023-10-02 11:41:19 +10:30
2023-09-21 20:08:24 +09:30
2023-10-02 11:41:19 +10:30
2023-09-21 20:08:24 +09:30
2023-09-20 13:56:46 +09:30
2023-09-20 13:56:46 +09:30
2023-10-02 11:41:19 +10:30
2023-09-21 20:08:24 +09:30
2023-06-20 20:08:25 +09:30
2023-10-02 11:41:19 +10:30
2023-07-26 06:55:48 +09:30
2023-10-02 11:41:19 +10:30
2023-10-02 11:41:19 +10:30
2023-10-02 11:41:19 +10:30
2023-08-18 13:18:49 +09:30
2023-07-26 06:55:48 +09:30
2023-09-21 20:08:24 +09:30
2023-09-21 20:08:24 +09:30
2023-10-02 11:41:19 +10:30
2023-09-21 20:08:24 +09:30
2023-09-12 15:19:02 +09:30
2023-04-10 17:26:47 +09:30
2023-09-21 20:08:24 +09:30
2023-09-21 20:08:24 +09:30
2023-07-23 13:48:37 +09:30
2023-07-23 13:48:37 +09:30
2023-10-02 11:41:19 +10:30
2023-10-02 11:41:19 +10:30