forked from cerc-io/plugeth
Use new iterator
This commit is contained in:
parent
5dcf59bdf4
commit
bd4f51ff3c
@ -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())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user