This commit is contained in:
dr7ana 2023-12-11 11:48:14 -08:00
parent 3509693c49
commit 3c521c4923
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ namespace llarp
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))
throw std::runtime_error{"Failed to verify RemoteRC signature"};
});