projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename KeysInterface ready_channel to provide_channel_parameters
[rust-lightning]
/
lightning
/
src
/
util
/
byte_utils.rs
diff --git
a/lightning/src/util/byte_utils.rs
b/lightning/src/util/byte_utils.rs
index 1ab6384e3b8ebe997b3e4c511ddcaf721946e935..eac00241db23d4ba31d37dee2e41f991670260b2 100644
(file)
--- a/
lightning/src/util/byte_utils.rs
+++ b/
lightning/src/util/byte_utils.rs
@@
-73,7
+73,7
@@
pub fn be64_to_array(u: u64) -> [u8; 8] {
#[cfg(test)]
mod tests {
use super::*;
-
+
#[test]
fn test_all() {
assert_eq!(slice_to_be48(&[0xde, 0xad, 0xbe, 0xef, 0x1b, 0xad]), 0xdeadbeef1bad);