mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
plugin: Add the plugin we're serializing for in the serializer
We will start annotating some of the in-memory objects with a message indicating which plugin currently is processing the hook.
This commit is contained in:
committed by
Rusty Russell
parent
eeba75ca7c
commit
6062b40a5d
@@ -232,7 +232,7 @@ static void plugin_hook_call_next(struct plugin_hook_request *ph_req)
|
||||
NULL,
|
||||
plugin_hook_callback, ph_req);
|
||||
|
||||
hook->serialize_payload(ph_req->cb_arg, req->stream);
|
||||
hook->serialize_payload(ph_req->cb_arg, req->stream, ph_req->plugin);
|
||||
jsonrpc_request_end(req);
|
||||
plugin_request_send(ph_req->plugin, req);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user