forgot a change

pull/15/head
Jeff Becker 6 years ago
parent 331a13ce0b
commit 751b86d8c3
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -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…
Cancel
Save