mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 21:07:17 +00:00
eth: uncaptialize tracer preimage error message (#15792)
* eth: uncaptialize tracer preimage error message * eth: improve very important error message
This commit is contained in:
parent
72e70bcec2
commit
85a1eda59e
@ -674,7 +674,7 @@ func (api *PrivateDebugAPI) traceTx(ctx context.Context, message core.Message, v
|
||||
return nil, fmt.Errorf("tracing failed: %v", err)
|
||||
}
|
||||
if err := core.WritePreimages(api.eth.ChainDb(), vmctx.BlockNumber.Uint64(), statedb.Preimages()); err != nil {
|
||||
return nil, fmt.Errorf("Error writing preimage from trace: %v", err)
|
||||
return nil, fmt.Errorf("can't write preimage: %v", err)
|
||||
}
|
||||
// Depending on the tracer type, format and return the output
|
||||
switch tracer := tracer.(type) {
|
||||
|
Loading…
Reference in New Issue
Block a user