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:
parent
c5575d6fe2
commit
5eb50392e9
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue