mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 22:56:43 +00:00
whisper: logs fixed (typos)
This commit is contained in:
parent
f6766d364f
commit
42e136fb27
2 changed files with 3 additions and 3 deletions
|
|
@ -423,7 +423,7 @@ func (args *WhisperFilterArgs) UnmarshalJSON(b []byte) (err error) {
|
|||
case "asym":
|
||||
args.Symmetric = false
|
||||
default:
|
||||
return errors.New("wrong type (sym/asym")
|
||||
return errors.New("wrong type (sym/asym)")
|
||||
}
|
||||
|
||||
args.Key = obj.Key
|
||||
|
|
@ -464,7 +464,7 @@ type WhisperMessage struct {
|
|||
Payload string `json:"payload"`
|
||||
Padding string `json:"padding"`
|
||||
Src string `json:"signedWith"`
|
||||
Dst string `json:"receipientPublicKey"`
|
||||
Dst string `json:"recipientPublicKey"`
|
||||
Timestamp uint32 `json:"timestamp"`
|
||||
TTL uint32 `json:"ttl"`
|
||||
PoW float64 `json:"pow"`
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ func (msg *SentMessage) Wrap(options *MessageParams) (envelope *Envelope, err er
|
|||
} else if options.KeySym != nil {
|
||||
salt, nonce, err = msg.encryptSymmetric(options.KeySym)
|
||||
} else {
|
||||
err = errors.New("unable to encrypt the message: neither symmetric nor assymmmetric key provided")
|
||||
err = errors.New("unable to encrypt the message: neither symmetric nor assymmetric key provided")
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue