Moved leveldb update loop to eth/backend

change order of block insert and update LastBlock

bugfix, wrong hash stored in blockDb
This commit is contained in:
Bas van Kervel
2015-04-22 12:46:41 +02:00
parent 94f2adb80a
commit c273ed7d82
5 changed files with 62 additions and 48 deletions

View File

@ -65,3 +65,7 @@ func (db *MemDatabase) LastKnownTD() []byte {
return data
}
func (db *MemDatabase) Flush() error {
return nil
}