Add additional extra database for non-protocol related data
* Add transaction to extra database after a successful block process
This commit is contained in:
@ -14,7 +14,7 @@ func proc() (*BlockProcessor, *ChainManager) {
|
||||
var mux event.TypeMux
|
||||
|
||||
chainMan := NewChainManager(db, db, &mux)
|
||||
return NewBlockProcessor(db, ezp.New(), nil, chainMan, &mux), chainMan
|
||||
return NewBlockProcessor(db, db, ezp.New(), nil, chainMan, &mux), chainMan
|
||||
}
|
||||
|
||||
func TestNumber(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user