update calls
All checks were successful
Run tests / Run unit tests (pull_request) Successful in 9m45s
All checks were successful
Run tests / Run unit tests (pull_request) Successful in 9m45s
This commit is contained in:
parent
d1e89f5c8f
commit
7c00993ddb
@ -26,7 +26,7 @@ var (
|
|||||||
// - block hash/number are left as zero
|
// - block hash/number are left as zero
|
||||||
func IndexStateDiff(dbConfig postgres.Config, stateCache state.Database, rootA, rootB common.Hash) error {
|
func IndexStateDiff(dbConfig postgres.Config, stateCache state.Database, rootA, rootB common.Hash) error {
|
||||||
_, indexer, err := indexer.NewStateDiffIndexer(
|
_, indexer, err := indexer.NewStateDiffIndexer(
|
||||||
context.Background(), ChainConfig, node.Info{}, dbConfig)
|
context.Background(), ChainConfig, node.Info{}, dbConfig, true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
@ -54,5 +54,5 @@ func IndexStateDiff(dbConfig postgres.Config, stateCache state.Database, rootA,
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return tx.Submit(err)
|
return tx.Submit()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user