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

try fix for signing

This commit is contained in:
Jeff 2019-01-08 19:11:33 -05:00
parent c5575d6fe2
commit 5eb50392e9

View file

@ -441,13 +441,14 @@ namespace llarp
Router::SaveRC()
{
llarp::LogDebug("verify RC signature");
if(!rc().Verify(&crypto, Now()))
if(!_rc.Verify(&crypto, Now()))
{
rc().Dump< MAX_RC_SIZE >();
llarp::LogError("RC is invalid, not saving");
return false;
}
return rc().Write(our_rc_file.string().c_str());
std::string fname = our_rc_file.string();
return _rc.Write(fname.c_str());
}
bool