|
|
@ -153,8 +153,7 @@ Main::Main(QWidget *parent) : |
|
|
|
|
|
|
|
m_webThree.reset(new WebThreeDirect(string("AlethZero/v") + dev::Version + "/" DEV_QUOTED(ETH_BUILD_TYPE) "/" DEV_QUOTED(ETH_BUILD_PLATFORM), getDataDir() + "/AlethZero", false, {"eth", "shh"})); |
|
|
|
|
|
|
|
// w3stubserver, on dealloc, deletes m_qwebConnector
|
|
|
|
m_qwebConnector = new QWebThreeConnector(); // owned by WebThreeStubServer
|
|
|
|
m_qwebConnector.reset(new QWebThreeConnector()); |
|
|
|
m_server.reset(new OurWebThreeStubServer(*m_qwebConnector, *web3(), keysAsVector(m_myKeys))); |
|
|
|
connect(&*m_server, SIGNAL(onNewId(QString)), SLOT(addNewId(QString))); |
|
|
|
m_server->setIdentities(keysAsVector(owned())); |
|
|
|