From aa97d7b0b4e92233a818176b2de1804c1cdebae4 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Sat, 25 Jul 2015 20:53:14 +0200 Subject: [PATCH] Hold address-sorting back. --- alethzero/MainWin.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/alethzero/MainWin.cpp b/alethzero/MainWin.cpp index eea7b0960..91cc4c0fe 100644 --- a/alethzero/MainWin.cpp +++ b/alethzero/MainWin.cpp @@ -1327,9 +1327,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)))