aboutsummaryrefslogtreecommitdiffstats
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
parent5dcf59bdf4b1a63ca8733994a81c936becf59933 (diff)
downloaddexon-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.tar
dexon-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.tar.gz
dexon-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.tar.bz2
dexon-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.tar.lz
dexon-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.tar.xz
dexon-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.tar.zst
dexon-bd4f51ff3c75c186dbc8a71439953c8fc05b16cd.zip
Use new iterator
-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())