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; return false;
// decode // decode
inf.read((char*)buf.base, sz); 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 bool