mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-25 01:30:17 +01:00
removed unnesseary redirection in storing blocks in transactions.
This commit is contained in:
parent
44a0d097c0
commit
ef541f18f6
@ -147,7 +147,7 @@ func (ldbs *LevelDBSession) Store(hash, key, value []byte) (exists bool, err err
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
wo := leveldb.NewWriteOptions()
|
wo := leveldb.NewWriteOptions()
|
||||||
err = ldbs.backend.db.Put(wo, key, value)
|
err = db.Put(wo, key, value)
|
||||||
wo.Close()
|
wo.Close()
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user