mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
clique doc comments update
This commit is contained in:
parent
03bb8ed47f
commit
5f60badd9e
1 changed files with 3 additions and 3 deletions
|
|
@ -138,9 +138,9 @@ var (
|
|||
)
|
||||
|
||||
// SignerFn hashes and signs the data to be signed by a backing account. It should point to the
|
||||
// accounts.Wallet.SignData method.
|
||||
// The function arguments are: current address, mimeType and data to be hashed and signed.
|
||||
type SignerFn func(accounts.Account, string, []byte) ([]byte, error)
|
||||
// accounts.Wallet.SignData method - current implementation relay on the SignData behaviour
|
||||
// (it must hash the message before signing).
|
||||
type SignerFn func(signer accounts.Account, mimeType string, message []byte) ([]byte, error)
|
||||
|
||||
// ecrecover extracts the Ethereum account address from a signed header.
|
||||
func ecrecover(header *types.Header, sigcache *lru.ARCCache) (common.Address, error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue