Skip to content

Commit

Permalink
Merge branch 'develop' into bugfix/TICKET-124-IMA-broadcast-TXN-problem
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiy-skalelabs authored May 30, 2022
2 parents 45387bf + 7c26827 commit 4cdb902
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions skaled/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1783,6 +1783,7 @@ int main( int argc, char** argv ) try {
std::shared_ptr< SkaleHost > skaleHost = std::make_shared< SkaleHost >( *g_client,
&cons_fact, instanceMonitor, skutils::json_config_file_accessor::g_strImaMainNetURL,
!chainParams.nodeInfo.syncNode );
dev::eth::g_skaleHost = skaleHost;

// XXX nested lambdas and strlen hacks..
auto skaleHost_debug_handler = skaleHost->getDebugHandler();
Expand All @@ -1804,8 +1805,6 @@ int main( int argc, char** argv ) try {
// this must be last! (or client will be mining blocks before this!)
g_client->startWorking();
statusAndControl->setSubsystemRunning( StatusAndControl::Blockchain, true );

dev::eth::g_skaleHost = skaleHost;
}

try {
Expand Down

0 comments on commit 4cdb902

Please sign in to comment.