浏览代码

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

LeoLiao 7 年之前
父节点
当前提交
0b20b1a050
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      consensus/clique/api.go

+ 1 - 1
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 {