File tree 1 file changed +3
-10
lines changed
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ int main(int argc, char** argv) {
70
70
71
71
bpo::variables_map options;
72
72
73
- auto delayed_plug = node->register_plugin <delayed_node::delayed_node_plugin>();
74
- auto history_plug = node->register_plugin <account_history::account_history_plugin>();
75
- auto market_history_plug = node->register_plugin <market_history::market_history_plugin>();
73
+ auto delayed_plug = node->register_plugin <delayed_node::delayed_node_plugin>(true );
74
+ auto history_plug = node->register_plugin <account_history::account_history_plugin>(true );
75
+ auto market_history_plug = node->register_plugin <market_history::market_history_plugin>(true );
76
76
77
77
try
78
78
{
@@ -88,13 +88,6 @@ int main(int argc, char** argv) {
88
88
return 1 ;
89
89
}
90
90
91
- std::set<std::string> plugins = {" delayed_node" , " account_history" , " market_history" };
92
- std::for_each (plugins.begin (), plugins.end (), [node](const std::string& plug) mutable {
93
- if (!plug.empty ()) {
94
- node->enable_plugin (plug);
95
- }
96
- });
97
-
98
91
if ( options.count (" help" ) )
99
92
{
100
93
std::cout << app_options << " \n " ;
You can’t perform that action at this time.
0 commit comments