diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 957ed7abd..e0f646075 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -227,7 +227,7 @@ var ( } TxLookupLimitFlag = cli.Uint64Flag{ Name: "txlookuplimit", - Usage: "Number of recent blocks to maintain transactions index for (default = about one year, 0 = entire chain)", + Usage: "Number of recent blocks to maintain transactions index for (default = about 56 days, 0 = entire chain)", Value: ethconfig.Defaults.TxLookupLimit, } LightKDFFlag = cli.BoolFlag{ diff --git a/consensus/bor/merkle.go b/consensus/bor/merkle.go index bdfbaba98..6b772c97d 100644 --- a/consensus/bor/merkle.go +++ b/consensus/bor/merkle.go @@ -36,7 +36,7 @@ func convertTo32(input []byte) (output [32]byte, err error) { return } -func convert(input []([32]byte)) [][]byte { +func convert(input [][32]byte) [][]byte { var output [][]byte for _, in := range input { newInput := make([]byte, len(in[:]))