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

pull/27515/head
Sanghee Choi 1 year ago committed by GitHub
parent cd3b8c3d78
commit 760fd0c79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      consensus/clique/api.go

@ -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 {

Loading…
Cancel
Save