lightningd: fix up typesafe-cb bitcoind_getfilteredblock

`const struct filteredblock *` everywhere, as the typesafe_cb_preargs
macro required.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-08-08 13:54:33 +09:30
parent 5e36257375
commit 69b7ef1508
5 changed files with 7 additions and 8 deletions

View File

@@ -153,7 +153,7 @@ void bitcoind_getblockhash_(struct bitcoind *bitcoind,
void bitcoind_getfilteredblock_(struct bitcoind *bitcoind, u32 height,
void (*cb)(struct bitcoind *bitcoind,
struct filteredblock *fb,
const struct filteredblock *fb,
void *arg),
void *arg);
#define bitcoind_getfilteredblock(bitcoind_, height, cb, arg) \