les, tests: fix les clientpool (#22756)

* les, tests: fix les clientpool

* tests: disable debug mode

* les: polish code
This commit is contained in:
gary rong
2021-04-28 20:18:25 +08:00
committed by GitHub
parent 9e5bb84c0e
commit 6d7c9566df
3 changed files with 67 additions and 19 deletions

View File

@ -21,10 +21,13 @@ import (
"io/ioutil"
"os"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/tests/fuzzers/vflux"
)
func main() {
log.Root().SetHandler(log.LvlFilterHandler(log.LvlTrace, log.StreamHandler(os.Stderr, log.TerminalFormat(true))))
if len(os.Args) != 2 {
fmt.Fprintf(os.Stderr, "Usage: debug <file>\n")
fmt.Fprintf(os.Stderr, "Example\n")