projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add redundant blinded HTLC failure check for posterity.
[rust-lightning]
/
lightning
/
src
/
util
/
poly1305.rs
diff --git
a/lightning/src/util/poly1305.rs
b/lightning/src/util/poly1305.rs
index c329c469f4685c7a84d662b1bd43d6e6e8e12bce..1abda74b6c20cd7da4aba1312f758705686d9b52 100644
(file)
--- a/
lightning/src/util/poly1305.rs
+++ b/
lightning/src/util/poly1305.rs
@@
-205,10
+205,10
@@
impl Poly1305 {
#[cfg(test)]
mod test {
#[cfg(test)]
mod test {
- use prelude::*;
+ use
crate::
prelude::*;
use core::iter::repeat;
use core::iter::repeat;
- use util::poly1305::Poly1305;
+ use
crate::
util::poly1305::Poly1305;
fn poly1305(key: &[u8], msg: &[u8], mac: &mut [u8]) {
let mut poly = Poly1305::new(key);
fn poly1305(key: &[u8], msg: &[u8], mac: &mut [u8]) {
let mut poly = Poly1305::new(key);