mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-03-14 07:06:42 +01:00
Merge pull request #3605 from vincenzopalazzo/macros/fix-warnings
[RFC] remove the cfg test that it is not needed in a error code path
This commit is contained in:
commit
2d2c542a90
1 changed files with 0 additions and 1 deletions
|
@ -8310,7 +8310,6 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
|
|||
), ChannelId([0; 32])));
|
||||
}
|
||||
|
||||
#[cfg(not(test))]
|
||||
if msg.data.len() > MAX_PEER_STORAGE_SIZE {
|
||||
log_debug!(logger, "Sending warning to peer and ignoring peer storage request from {} as its over 1KiB", log_pubkey!(counterparty_node_id));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue