Skip to content

Commit 9cfc93d

Browse files
committed
Make linter happy
1 parent 3a9c447 commit 9cfc93d

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

eth/state_accessor.go

+9-9
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ import (
3737
// base layer statedb can be passed then it's regarded as the statedb of the
3838
// parent block.
3939
// Parameters:
40-
// - block: The block for which we want the state (== state at the stateRoot of the parent)
41-
// - reexec: The maximum number of blocks to reprocess trying to obtain the desired state
42-
// - base: If the caller is tracing multiple blocks, the caller can provide the parent state
43-
// continuously from the callsite.
44-
// - checklive: if true, then the live 'blockchain' state database is used. If the caller want to
45-
// perform Commit or other 'save-to-disk' changes, this should be set to false to avoid
46-
// storing trash persistently
47-
// - preferDisk: this arg can be used by the caller to signal that even though the 'base' is provided,
48-
// it would be preferrable to start from a fresh state, if we have it on disk.
40+
// - block: The block for which we want the state (== state at the stateRoot of the parent)
41+
// - reexec: The maximum number of blocks to reprocess trying to obtain the desired state
42+
// - base: If the caller is tracing multiple blocks, the caller can provide the parent state
43+
// continuously from the callsite.
44+
// - checklive: if true, then the live 'blockchain' state database is used. If the caller want to
45+
// perform Commit or other 'save-to-disk' changes, this should be set to false to avoid
46+
// storing trash persistently
47+
// - preferDisk: this arg can be used by the caller to signal that even though the 'base' is provided,
48+
// it would be preferrable to start from a fresh state, if we have it on disk.
4949
func (eth *Ethereum) stateAtBlock(block *types.Block, reexec uint64, base *state.StateDB, checkLive bool, preferDisk bool) (statedb *state.StateDB, err error) {
5050
var (
5151
current *types.Block

eth/tracers/native/tracer.go

+5-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ Aside from implementing the tracer, it also needs to register itself, using the
2727
Example:
2828
2929
```golang
30-
func init() {
31-
register("noopTracerNative", newNoopTracer)
32-
}
30+
31+
func init() {
32+
register("noopTracerNative", newNoopTracer)
33+
}
34+
3335
```
3436
*/
3537
package native

0 commit comments

Comments
 (0)