pull/2228/head
dr7ana 5 months ago
parent 3509693c49
commit 3c521c4923

@ -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"};
});

Loading…
Cancel
Save