Browse Source

Hold address-sorting back.

cl-refactor
Gav Wood 10 years ago
parent
commit
195c9614b3
  1. 4
      alethzero/MainWin.cpp

4
alethzero/MainWin.cpp

@ -1340,9 +1340,7 @@ void Main::refreshAccounts()
bool showContract = ui->showContracts->isChecked();
bool showBasic = ui->showBasic->isChecked();
bool onlyNamed = ui->onlyNamed->isChecked();
auto as = ethereum()->addresses();
sort(as.begin(), as.end());
for (auto const& i: as)
for (auto const& i: ethereum()->addresses())
{
bool isContract = (ethereum()->codeHashAt(i) != EmptySHA3);
if (!((showContract && isContract) || (showBasic && !isContract)))

Loading…
Cancel
Save