mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
signer/core: fix a typo
This commit is contained in:
parent
1b8378e14a
commit
f7f6b781c7
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ func (api *SignerAPI) SignData(ctx context.Context, contentType string, addr com
|
||||||
|
|
||||||
// determineSignatureFormat determines which signature method should be used based upon the mime type
|
// determineSignatureFormat determines which signature method should be used based upon the mime type
|
||||||
// In the cases where it matters ensure that the charset is handled. The charset
|
// In the cases where it matters ensure that the charset is handled. The charset
|
||||||
// resides in the 'params' returned as the second returnvalue from mime.ParseMediaType
|
// resides in the 'params' returned as the second return value from mime.ParseMediaType
|
||||||
// charset, ok := params["charset"]
|
// charset, ok := params["charset"]
|
||||||
// As it is now, we accept any charset and just treat it as 'raw'.
|
// As it is now, we accept any charset and just treat it as 'raw'.
|
||||||
// This method returns the mimetype for signing along with the request
|
// This method returns the mimetype for signing along with the request
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue