mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-03 22:34:21 +01:00
jsonrpc: populate ld->jsonrpc ourselves, so we can use it.
Next patch will call commands to get usage inside jsonrpc_new(): to do this it will need access to ld->jsonrpc, so we can't use the current pattern. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -94,9 +94,9 @@ void htlcs_notify_new_block(struct lightningd *ld UNNEEDED, u32 height UNNEEDED)
|
||||
/* Generated stub for jsonrpc_listen */
|
||||
void jsonrpc_listen(struct jsonrpc *rpc UNNEEDED, struct lightningd *ld UNNEEDED)
|
||||
{ fprintf(stderr, "jsonrpc_listen called!\n"); abort(); }
|
||||
/* Generated stub for jsonrpc_new */
|
||||
struct jsonrpc *jsonrpc_new(const tal_t *ctx UNNEEDED, struct lightningd *ld UNNEEDED)
|
||||
{ fprintf(stderr, "jsonrpc_new called!\n"); abort(); }
|
||||
/* Generated stub for jsonrpc_setup */
|
||||
void jsonrpc_setup(struct lightningd *ld UNNEEDED)
|
||||
{ fprintf(stderr, "jsonrpc_setup called!\n"); abort(); }
|
||||
/* Generated stub for load_channels_from_wallet */
|
||||
void load_channels_from_wallet(struct lightningd *ld UNNEEDED)
|
||||
{ fprintf(stderr, "load_channels_from_wallet called!\n"); abort(); }
|
||||
|
||||
Reference in New Issue
Block a user