aboutsummaryrefslogtreecommitdiffstats
path: root/consensus/clique/api.go
diff options
context:
space:
mode:
authorLeoLiao <leofantast@gmail.com>2018-07-09 16:39:43 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-07-09 16:39:43 +0800
commit0b20b1a050c2ee08a238b287b2f621ae1b9dec53 (patch)
tree3a5b8cacb353250592c367f91e5b7a77c25be607 /consensus/clique/api.go
parent4dbefc1f2577e46b8fd4a7f670c3319d9e6d7f71 (diff)
downloaddexon-0b20b1a050c2ee08a238b287b2f621ae1b9dec53.tar
dexon-0b20b1a050c2ee08a238b287b2f621ae1b9dec53.tar.gz
dexon-0b20b1a050c2ee08a238b287b2f621ae1b9dec53.tar.bz2
dexon-0b20b1a050c2ee08a238b287b2f621ae1b9dec53.tar.lz
dexon-0b20b1a050c2ee08a238b287b2f621ae1b9dec53.tar.xz
dexon-0b20b1a050c2ee08a238b287b2f621ae1b9dec53.tar.zst
dexon-0b20b1a050c2ee08a238b287b2f621ae1b9dec53.zip
consensus/clique: fixed documentation copy-paste issue (#17137)
Diffstat (limited to 'consensus/clique/api.go')
-rw-r--r--consensus/clique/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/consensus/clique/api.go b/consensus/clique/api.go
index b875eef01..6bcf987af 100644
--- a/consensus/clique/api.go
+++ b/consensus/clique/api.go
@@ -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 {