mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-24 10:49:43 +00:00
accounts iterator
This commit is contained in:
parent
6c24711044
commit
ddeffc1df0
@ -483,7 +483,7 @@ public class RepositoryImpl implements Repository {
|
||||
}
|
||||
}
|
||||
|
||||
public DBIterator getContractDetailsDBIterator() {
|
||||
public DBIterator getAccountsIterator() {
|
||||
return detailsDB.iterator();
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user