pull/2232/head
dr7ana 5 months ago
parent 31616837e0
commit b8c8a2c696

@ -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