Revert me: debug print the msg/sig/signer

pull/2232/head
Jason Rhinelander 6 months ago committed by dr7ana
parent 4328212c2c
commit 329acaf56c

@ -66,6 +66,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), oxenc::to_hex(router_id().ToHex()));
if (not crypto::verify(router_id(), msg, sig))
throw std::runtime_error{"Failed to verify RemoteRC signature"};
});

Loading…
Cancel
Save