mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-24 19:00:31 +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();
|
return detailsDB.iterator();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ public class AccountsListWindow extends JFrame {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run(){
|
public void run(){
|
||||||
DBIterator i = WorldManager.getInstance().getRepository().getContractDetailsDBIterator();
|
DBIterator i = WorldManager.getInstance().getRepository().getAccountsIterator();
|
||||||
while(i.hasNext()) {
|
while(i.hasNext()) {
|
||||||
DataClass dc = new DataClass();
|
DataClass dc = new DataClass();
|
||||||
dc.address = i.next().getKey();
|
dc.address = i.next().getKey();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user