projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Randomize initial onion packet data.
[rust-lightning]
/
lightning
/
src
/
ln
/
channel.rs
diff --git
a/lightning/src/ln/channel.rs
b/lightning/src/ln/channel.rs
index 14336b8a96ccc0e061b650a49b974dbc470b7e51..269aef215f8b82e60a7180a10b18ef72d9085049 100644
(file)
--- a/
lightning/src/ln/channel.rs
+++ b/
lightning/src/ln/channel.rs
@@
-4199,7
+4199,7
@@
mod tests {
}
fn get_channel_keys(&self, _inbound: bool) -> ChannelKeys { self.chan_keys.clone() }
}
fn get_channel_keys(&self, _inbound: bool) -> ChannelKeys { self.chan_keys.clone() }
- fn get_
session_key(&self) -> SecretKey
{ panic!(); }
+ fn get_
onion_rand(&self) -> (SecretKey, [u8; 32])
{ panic!(); }
fn get_channel_id(&self) -> [u8; 32] { [0; 32] }
}
fn get_channel_id(&self) -> [u8; 32] { [0; 32] }
}