accounts iterator

This commit is contained in:
Alon Muroch 2014-09-11 23:14:05 +03:00
parent 6c24711044
commit ddeffc1df0
2 changed files with 2 additions and 2 deletions

View File

@ -483,7 +483,7 @@ public class RepositoryImpl implements Repository {
}
}
public DBIterator getContractDetailsDBIterator() {
public DBIterator getAccountsIterator() {
return detailsDB.iterator();
}

View File

@ -58,7 +58,7 @@ public class AccountsListWindow extends JFrame {
@Override
public void run(){
DBIterator i = WorldManager.getInstance().getRepository().getContractDetailsDBIterator();
DBIterator i = WorldManager.getInstance().getRepository().getAccountsIterator();
while(i.hasNext()) {
DataClass dc = new DataClass();
dc.address = i.next().getKey();