projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
`rustfmt`: `lightning-transaction-sync/tests/integration_tests.rs`
[rust-lightning]
/
fuzz
/
src
/
fromstr_to_netaddress.rs
diff --git
a/fuzz/src/fromstr_to_netaddress.rs
b/fuzz/src/fromstr_to_netaddress.rs
index 199841123696b89a52a27b288d09866953c33317..dba2d44451e3b5755115e41157d4a102fde9c9b5 100644
(file)
--- a/
fuzz/src/fromstr_to_netaddress.rs
+++ b/
fuzz/src/fromstr_to_netaddress.rs
@@
-7,7
+7,7
@@
// You may not use this file except in accordance with one or both of these
// licenses.
// You may not use this file except in accordance with one or both of these
// licenses.
-use lightning::ln::msgs::
N
etAddress;
+use lightning::ln::msgs::
Sock
etAddress;
use core::str::FromStr;
use crate::utils::test_logger;
use core::str::FromStr;
use crate::utils::test_logger;
@@
-15,7
+15,7
@@
use crate::utils::test_logger;
#[inline]
pub fn do_test(data: &[u8]) {
if let Ok(s) = std::str::from_utf8(data) {
#[inline]
pub fn do_test(data: &[u8]) {
if let Ok(s) = std::str::from_utf8(data) {
- let _ =
N
etAddress::from_str(s);
+ let _ =
Sock
etAddress::from_str(s);
}
}
}
}