mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 22:31:48 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue