consensus/clique: fix typo in comment (#27503)

This commit is contained in:
Sanghee Choi 2023-06-19 15:47:00 +09:00 committed by GitHub
parent cd3b8c3d78
commit 760fd0c79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,7 +205,7 @@ func (sb *blockNumberOrHashOrRLP) UnmarshalJSON(data []byte) error {
} }
// GetSigner returns the signer for a specific clique block. // GetSigner returns the signer for a specific clique block.
// Can be called with either a blocknumber, blockhash or an rlp encoded blob. // Can be called with a block number, a block hash or a rlp encoded blob.
// The RLP encoded blob can either be a block or a header. // The RLP encoded blob can either be a block or a header.
func (api *API) GetSigner(rlpOrBlockNr *blockNumberOrHashOrRLP) (common.Address, error) { func (api *API) GetSigner(rlpOrBlockNr *blockNumberOrHashOrRLP) (common.Address, error) {
if len(rlpOrBlockNr.RLP) == 0 { if len(rlpOrBlockNr.RLP) == 0 {