fix chainstore default option
This commit is contained in:
+1
-2
@@ -131,7 +131,6 @@ func defaults() []Option {
|
||||
|
||||
// Filecoin modules
|
||||
|
||||
Override(new(*chain.ChainStore), modules.ChainStore),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -184,7 +183,7 @@ func Online() Option {
|
||||
|
||||
Override(HandleIncomingMessagesKey, modules.HandleIncomingMessages),
|
||||
|
||||
Override(new(*chain.ChainStore), chain.NewChainStore),
|
||||
Override(new(*chain.ChainStore), modules.ChainStore),
|
||||
|
||||
Override(new(blockstore.GCLocker), blockstore.NewGCLocker),
|
||||
Override(new(blockstore.GCBlockstore), blockstore.NewGCBlockstore),
|
||||
|
||||
Reference in New Issue
Block a user