mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
log
This commit is contained in:
parent
3509693c49
commit
3c521c4923
|
@ -34,6 +34,9 @@ namespace llarp
|
||||||
throw std::runtime_error{err};
|
throw std::runtime_error{err};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log::error(log::Cat("FIXME"), "ABOUT TO VERIFY THIS: {}, WITH SIG {}, SIGNED BY {}",
|
||||||
|
oxenc::to_hex(msg), oxenc::to_hex(sig), router_id().ToHex());
|
||||||
|
|
||||||
if (not crypto::verify(router_id(), msg, sig))
|
if (not crypto::verify(router_id(), msg, sig))
|
||||||
throw std::runtime_error{"Failed to verify RemoteRC signature"};
|
throw std::runtime_error{"Failed to verify RemoteRC signature"};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue