Adjusted utility function, ParseStateScheme(), in plugethCaptureTrieConfig().

The function was moved from /cmd/utils/ to /core/rawdb/ and the areguments adjusted.

Test Plugin passing without error.
This commit is contained in:
philip-morlier 2023-10-12 07:59:36 -07:00
parent f912a2192d
commit 00ce5674f7

View File

@ -163,7 +163,7 @@ func plugethCaptureTrieConfig(ctx *cli.Context, stack *node.Node, backend ethapi
chaindb := backend.ChainDb() chaindb := backend.ChainDb()
scheme, err := utils.ParseStateScheme(ctx, chaindb) scheme, err := rawdb.ParseStateScheme(ctx.String(utils.StateSchemeFlag.Name), chaindb)
if err != nil { if err != nil {
utils.Fatalf("%v", err) utils.Fatalf("%v", err)
} }