Use new iterator

This commit is contained in:
obscuren 2014-11-03 00:30:52 +01:00
parent 5dcf59bdf4
commit bd4f51ff3c
1 changed files with 1 additions and 1 deletions

View File

@ -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())