@ -240,6 +240,18 @@ QEthereum::~QEthereum()
{
}
void QEthereum::setAccounts(QList<eth::KeyPair> _l)
cnote << "WAS:";
for (auto i: m_accounts)
cnote << i.sec();
cnote << "NOW:";
for (auto i: _l)
m_accounts = _l;
changed();
void QEthereum::setup(QWebFrame* _e)
// disconnect
@ -376,7 +376,7 @@ public:
void setup(QWebFrame* _e);
void teardown(QWebFrame* _e);
void setAccounts(QList<eth::KeyPair> const& _l) { m_accounts = _l; changed(); }
void setAccounts(QList<eth::KeyPair> _l);
Q_INVOKABLE QString ethTest() const { return "Hello world!"; }
Q_INVOKABLE QEthereum* self() { return this; }