1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

forgot a change

This commit is contained in:
Jeff Becker 2018-09-08 12:45:38 -04:00
parent 331a13ce0b
commit 751b86d8c3
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -260,7 +260,12 @@ namespace llarp
return false;
// decode
inf.read((char*)buf.base, sz);
return BDecode(&buf);
if(!BDecode(&buf))
return false;
// update pubkey
pub.Update(llarp::seckey_topublic(enckey),
llarp::seckey_topublic(pubkey));
return true;
}
bool