OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix cache (#463)
[bytom/vapor.git]
/
database
/
store.go
diff --git
a/database/store.go
b/database/store.go
index
0be3df0
..
bff69c6
100644
(file)
--- a/
database/store.go
+++ b/
database/store.go
@@
-53,7
+53,7
@@
func loadBlockStoreStateJSON(db dbm.DB) *protocol.BlockStoreState {
// methods for querying current data.
type Store struct {
db dbm.DB
- cache cache
+ cache
*
cache
}
func calcMainChainIndexPrefix(height uint64) []byte {