diff --git a/internal/configs/sharding/instance.go b/internal/configs/sharding/instance.go index 0930c20b05..9ba941576b 100644 --- a/internal/configs/sharding/instance.go +++ b/internal/configs/sharding/instance.go @@ -184,7 +184,7 @@ func (sc instance) SlotsLimit() int { return sc.slotsLimit } -// FeeCollector returns a mapping of address to decimal % of fee +// FeeCollectors returns a mapping of address to decimal % of fee func (sc instance) FeeCollectors() FeeCollectors { return sc.feeCollectors } diff --git a/internal/configs/sharding/shardingconfig.go b/internal/configs/sharding/shardingconfig.go index 6ac05e7b98..2de6735428 100644 --- a/internal/configs/sharding/shardingconfig.go +++ b/internal/configs/sharding/shardingconfig.go @@ -92,7 +92,7 @@ type Instance interface { // ExternalAllowlistLimit returns the maximum number of external leader keys on each shard(HIP18) ExternalAllowlistLimit() int - // FeeCollector returns a mapping of address to decimal % of fee + // FeeCollectors returns a mapping of address to decimal % of fee FeeCollectors() FeeCollectors // HIP30RecoveryAddress returns the address to which diff --git a/p2p/stream/protocols/sync/message/compose.go b/p2p/stream/protocols/sync/message/compose.go index 3be09da5b7..b7210b2802 100644 --- a/p2p/stream/protocols/sync/message/compose.go +++ b/p2p/stream/protocols/sync/message/compose.go @@ -35,7 +35,7 @@ func MakeGetBlocksByNumRequest(bns []uint64) *Request { } } -// MakeGetBlockByHashesRequest makes the GetBlocksByHashes request +// MakeGetBlocksByHashesRequest makes the GetBlocksByHashes request func MakeGetBlocksByHashesRequest(hashes []common.Hash) *Request { return &Request{ Request: &Request_GetBlocksByHashesRequest{ @@ -182,7 +182,7 @@ func MakeGetBlocksByNumResponseMessage(rid uint64, blocksBytes, sigs [][]byte) * return makeMessageFromResponse(resp) } -// MakeGetBlocksByNumResponseMessage make the GetBlocksByNumResponse of Response type +// MakeGetBlocksByNumResponse make the GetBlocksByNumResponse of Response type func MakeGetBlocksByNumResponse(rid uint64, blocksBytes, sigs [][]byte) *Response { return &Response{ ReqId: rid,