mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
add more logs
This commit is contained in:
parent
374e438f42
commit
dae44a2a9c
1 changed files with 2 additions and 0 deletions
|
|
@ -258,6 +258,8 @@ func (s *Snapshot) apply(headers []*types.Header) (*Snapshot, error) {
|
|||
snap.Number += uint64(len(headers))
|
||||
snap.Hash = headers[len(headers)-1].Hash()
|
||||
|
||||
fmt.Println("Current validator set", "number", snap.Number, "validatorSet", snap.ValidatorSet)
|
||||
|
||||
return snap, nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue