File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed
Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,6 @@ namespace ccf::js
5656 const CustomJSEndpoint* endpoint,
5757 ccf::endpoints::EndpointContext& endpoint_ctx);
5858
59- void execute_request_locally_committed (
60- const CustomJSEndpoint* endpoint,
61- ccf::endpoints::CommandEndpointContext& endpoint_ctx,
62- const ccf::TxID& tx_id);
63-
6459 protected:
6560 std::string modules_map;
6661 std::string metadata_map;
Original file line number Diff line number Diff line change @@ -474,15 +474,6 @@ namespace ccf::js
474474 }
475475 }
476476
477- void BaseDynamicJSEndpointRegistry::execute_request_locally_committed (
478- const CustomJSEndpoint* endpoint,
479- ccf::endpoints::CommandEndpointContext& endpoint_ctx,
480- const ccf::TxID& tx_id)
481- {
482- (void )endpoint;
483- ccf::endpoints::default_locally_committed_func (endpoint_ctx, tx_id);
484- }
485-
486477 BaseDynamicJSEndpointRegistry::BaseDynamicJSEndpointRegistry (
487478 ccf::AbstractNodeContext& context, const std::string& kv_prefix) :
488479 ccf::UserEndpointRegistry (context),
@@ -858,7 +849,7 @@ namespace ccf::js
858849 const auto * endpoint = dynamic_cast <const CustomJSEndpoint*>(e.get ());
859850 if (endpoint != nullptr )
860851 {
861- execute_request_locally_committed (endpoint, endpoint_ctx, tx_id);
852+ ccf::endpoints::default_locally_committed_func ( endpoint_ctx, tx_id);
862853 return ;
863854 }
864855
You can’t perform that action at this time.
0 commit comments