projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e54dd6
)
Fix new warnings causing CI build failures on rustc beta
author
Matt Corallo
<git@bluematt.me>
Wed, 20 Mar 2024 19:14:40 +0000
(19:14 +0000)
committer
Matt Corallo
<git@bluematt.me>
Fri, 5 Apr 2024 09:05:26 +0000
(09:05 +0000)
lightning-rapid-gossip-sync/src/processing.rs
patch
|
blob
|
history
diff --git
a/lightning-rapid-gossip-sync/src/processing.rs
b/lightning-rapid-gossip-sync/src/processing.rs
index 9023b9ba38ca52c16d003bebaa21e1511c946d2e..b3fae0ffd8bea8e19822c5a2cf9bc19d3fe33939 100644
(file)
--- a/
lightning-rapid-gossip-sync/src/processing.rs
+++ b/
lightning-rapid-gossip-sync/src/processing.rs
@@
-19,7
+19,7
@@
use crate::{GraphSyncError, RapidGossipSync};
#[cfg(all(feature = "std", not(test)))]
use std::time::{SystemTime, UNIX_EPOCH};
-#[cfg(
not(feature = "std"
))]
+#[cfg(
all(not(feature = "std"), not(test)
))]
use alloc::{vec::Vec, borrow::ToOwned};
/// The purpose of this prefix is to identify the serialization format, should other rapid gossip