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:
parent
f912a2192d
commit
00ce5674f7
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user