clique doc comments update

This commit is contained in:
Robert Zaremba 2020-05-14 15:22:15 +02:00
parent 03bb8ed47f
commit 5f60badd9e

View file

@ -138,9 +138,9 @@ var (
) )
// SignerFn hashes and signs the data to be signed by a backing account. It should point to the // SignerFn hashes and signs the data to be signed by a backing account. It should point to the
// accounts.Wallet.SignData method. // accounts.Wallet.SignData method - current implementation relay on the SignData behaviour
// The function arguments are: current address, mimeType and data to be hashed and signed. // (it must hash the message before signing).
type SignerFn func(accounts.Account, string, []byte) ([]byte, error) type SignerFn func(signer accounts.Account, mimeType string, message []byte) ([]byte, error)
// ecrecover extracts the Ethereum account address from a signed header. // ecrecover extracts the Ethereum account address from a signed header.
func ecrecover(header *types.Header, sigcache *lru.ARCCache) (common.Address, error) { func ecrecover(header *types.Header, sigcache *lru.ARCCache) (common.Address, error) {