consensus/clique/api.go: fixed documentation typo

This commit is contained in:
LeoLiao 2018-07-06 23:18:58 +08:00
parent 3b07451564
commit 4c2667a4e2

View file

@ -75,7 +75,7 @@ func (api *API) GetSigners(number *rpc.BlockNumber) ([]common.Address, error) {
return snap.signers(), nil return snap.signers(), nil
} }
// GetSignersAtHash retrieves the state snapshot at a given block. // GetSignersAtHash retrieves the list of authorized signers at the specified block.
func (api *API) GetSignersAtHash(hash common.Hash) ([]common.Address, error) { func (api *API) GetSignersAtHash(hash common.Hash) ([]common.Address, error) {
header := api.chain.GetHeaderByHash(hash) header := api.chain.GetHeaderByHash(hash)
if header == nil { if header == nil {