mirror of
https://github.com/status-im/status-go.git
synced 2025-01-21 20:20:29 +00:00
Initialize public key (#1332)
This commit is contained in:
parent
697c72ffdf
commit
30dbacdcca
@ -499,7 +499,10 @@ func (api *PublicAPI) processPFSMessage(msg *whisper.Message) error {
|
||||
return err
|
||||
}
|
||||
|
||||
var publicKey *ecdsa.PublicKey
|
||||
publicKey, err := crypto.UnmarshalPubkey(msg.Sig)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
response, err := api.service.protocol.HandleMessage(privateKey, publicKey, msg.Payload)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user