Use new iterator

poc8
obscuren 10 years ago
parent 5dcf59bdf4
commit bd4f51ff3c
  1. 2
      cmd/mist/gui.go

@ -334,7 +334,7 @@ func (gui *Gui) insertTransaction(window string, tx *chain.Transaction) {
} }
func (gui *Gui) readPreviousTransactions() { func (gui *Gui) readPreviousTransactions() {
it := gui.txDb.Db().NewIterator(nil, nil) it := gui.txDb.NewIterator()
for it.Next() { for it.Next() {
tx := chain.NewTransactionFromBytes(it.Value()) tx := chain.NewTransactionFromBytes(it.Value())

Loading…
Cancel
Save