mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
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:
@@ -787,7 +787,7 @@ void bitcoind_gettxout(struct bitcoind *bitcoind,
|
||||
* process the various steps. */
|
||||
struct filteredblock_call {
|
||||
struct list_node list;
|
||||
void (*cb)(struct bitcoind *bitcoind, struct filteredblock *fb,
|
||||
void (*cb)(struct bitcoind *bitcoind, const struct filteredblock *fb,
|
||||
void *arg);
|
||||
void *arg;
|
||||
|
||||
@@ -914,7 +914,7 @@ process_getfiltered_block_final(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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user