From 3c521c492347b12738c2cac2fd95ffcd1ece6e68 Mon Sep 17 00:00:00 2001 From: dr7ana Date: Mon, 11 Dec 2023 11:48:14 -0800 Subject: [PATCH] log --- llarp/router_contact_remote.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llarp/router_contact_remote.cpp b/llarp/router_contact_remote.cpp index 598aeead6..527cfb333 100644 --- a/llarp/router_contact_remote.cpp +++ b/llarp/router_contact_remote.cpp @@ -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"}; });