Fix a nil dereference (copy-and-paste glitch)

pull/1939/head
Eugene Kim 5 years ago
parent 1cc94a2341
commit 6ba20a4ba4
  1. 2
      core/rawdb/accessors_chain.go

@ -428,7 +428,7 @@ func ReadShardState(
if err2 != nil { if err2 != nil {
return nil, ctxerror.New("cannot decode sharding state", return nil, ctxerror.New("cannot decode sharding state",
"epoch", epoch, "epoch", epoch,
).WithCause(err) ).WithCause(err2)
} }
return ss, nil return ss, nil
} }

Loading…
Cancel
Save