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:
parent
331a13ce0b
commit
751b86d8c3
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue