projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09a3972
)
Update lightning/src/util/byte_utils.rs
author
Marty Jones
<murtin.jones@gmail.com>
Wed, 22 Apr 2020 00:29:46 +0000
(20:29 -0400)
committer
GitHub
<noreply@github.com>
Wed, 22 Apr 2020 00:29:46 +0000
(20:29 -0400)
lightning/src/util/byte_utils.rs
patch
|
blob
|
history
diff --git
a/lightning/src/util/byte_utils.rs
b/lightning/src/util/byte_utils.rs
index 240480dff6a4b2ce6bad5e06c011134f4c1c94bd..eae9f0572fca73c8e28bcd1f7c2c6b6dc66a77f4 100644
(file)
--- a/
lightning/src/util/byte_utils.rs
+++ b/
lightning/src/util/byte_utils.rs
@@
-122,6
+122,5
@@
mod tests {
assert_eq!(be48_to_array(0xdeadbeef1bad), [0xde, 0xad, 0xbe, 0xef, 0x1b, 0xad]);
assert_eq!(be64_to_array(0xdeadbeef1bad1dea), [0xde, 0xad, 0xbe, 0xef, 0x1b, 0xad, 0x1d, 0xea]);
assert_eq!(le64_to_array(0xdeadbeef1bad1dea), [0xea, 0x1d, 0xad, 0x1b, 0xef, 0xbe, 0xad, 0xde]);
-
}
-}
\ No newline at end of file
+}