mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-02 10:03:45 +00:00
removed fmt log from snapshot
This commit is contained in:
parent
783d094a28
commit
088b57ebea
1 changed files with 3 additions and 3 deletions
|
|
@ -19,14 +19,14 @@ package bor
|
|||
import (
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
lru "github.com/hashicorp/golang-lru"
|
||||
"github.com/maticnetwork/bor/common"
|
||||
"github.com/maticnetwork/bor/core/types"
|
||||
"github.com/maticnetwork/bor/ethdb"
|
||||
"github.com/maticnetwork/bor/internal/ethapi"
|
||||
"github.com/maticnetwork/bor/log"
|
||||
"github.com/maticnetwork/bor/params"
|
||||
lru "github.com/hashicorp/golang-lru"
|
||||
)
|
||||
|
||||
// Snapshot is the state of the authorization voting at a given point in time.
|
||||
|
|
@ -161,7 +161,7 @@ func (s *Snapshot) apply(headers []*types.Header) (*Snapshot, error) {
|
|||
snap.ValidatorSet = v
|
||||
|
||||
// log new validator set
|
||||
fmt.Println("Current validator set", "number", snap.Number, "validatorSet", snap.ValidatorSet)
|
||||
log.Info("Current validator set", "number", snap.Number, "validatorSet", snap.ValidatorSet)
|
||||
}
|
||||
|
||||
// check if signer is in validator set
|
||||
|
|
|
|||
Loading…
Reference in a new issue