mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
log: keep code compact
This commit is contained in:
parent
459cc8fb80
commit
7e30ab3e6b
1 changed files with 1 additions and 2 deletions
|
|
@ -402,8 +402,7 @@ func lazyEvaluateRecord(r *Record) {
|
||||||
// the values of any lazy fn to the result of its execution
|
// the values of any lazy fn to the result of its execution
|
||||||
hadErr := false
|
hadErr := false
|
||||||
for i := 1; i < len(r.Ctx); i += 2 {
|
for i := 1; i < len(r.Ctx); i += 2 {
|
||||||
lz, ok := r.Ctx[i].(Lazy)
|
if lz, ok := r.Ctx[i].(Lazy); ok {
|
||||||
if ok {
|
|
||||||
v, err := evaluateLazy(lz)
|
v, err := evaluateLazy(lz)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
hadErr = true
|
hadErr = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue