Browse Source

Debug checks for addresses.

cl-refactor
Gav Wood 11 years ago
parent
commit
bfa63185c0
  1. 12
      libqethereum/QEthereum.cpp
  2. 2
      libqethereum/QEthereum.h

12
libqethereum/QEthereum.cpp

@ -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)
cnote << i.sec();
m_accounts = _l;
changed();
}
void QEthereum::setup(QWebFrame* _e)
{
// disconnect

2
libqethereum/QEthereum.h

@ -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; }

Loading…
Cancel
Save