aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-11-03 07:30:52 +0800
committerobscuren <geffobscura@gmail.com>2014-11-03 07:30:52 +0800
commitbd4f51ff3c75c186dbc8a71439953c8fc05b16cd (patch)
treeb33dab0b7a2d0bb0d44413be5c6f3dfcae248e7c /cmd/mist
parent5dcf59bdf4b1a63ca8733994a81c936becf59933 (diff)
downloadgo-tangerine-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.tar
go-tangerine-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.tar.gz
go-tangerine-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.tar.bz2
go-tangerine-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.tar.lz
go-tangerine-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.tar.xz
go-tangerine-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.tar.zst
go-tangerine-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.zip
Use new iterator
Diffstat (limited to 'cmd/mist')
-rw-r--r--cmd/mist/gui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mist/gui.go b/cmd/mist/gui.go
index d6f6832e2..8fa068c14 100644
--- a/cmd/mist/gui.go
+++ b/cmd/mist/gui.go
@@ -334,7 +334,7 @@ func (gui *Gui) insertTransaction(window string, tx *chain.Transaction) {
}
func (gui *Gui) readPreviousTransactions() {
- it := gui.txDb.Db().NewIterator(nil, nil)
+ it := gui.txDb.NewIterator()
for it.Next() {
tx := chain.NewTransactionFromBytes(it.Value())