consensus/clique: fixed documentation copy-paste issue (#17137)

This commit is contained in:
LeoLiao 2018-07-09 16:39:43 +08:00 committed by Péter Szilágyi
parent 4dbefc1f25
commit 0b20b1a050

View File

@ -75,7 +75,7 @@ func (api *API) GetSigners(number *rpc.BlockNumber) ([]common.Address, error) {
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) {
header := api.chain.GetHeaderByHash(hash)
if header == nil {