sphinx: Remove annoying warning when MACs do not match
This was printing to stderr during the tests. Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
f2d67f88c0
commit
a9f02a8985
|
@ -420,7 +420,7 @@ struct route_step *process_onionpacket(
|
|||
compute_packet_hmac(msg, assocdata, assocdatalen, keys.mu, hmac);
|
||||
|
||||
if (memcmp(msg->mac, hmac, sizeof(hmac)) != 0) {
|
||||
warnx("Computed MAC does not match expected MAC, the message was modified.");
|
||||
/* Computed MAC does not match expected MAC, the message was modified. */
|
||||
return tal_free(step);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue