projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update min-inbound-fee values on `NetworkGraph` load
[rust-lightning]
/
lightning
/
src
/
onion_message
/
functional_tests.rs
diff --git
a/lightning/src/onion_message/functional_tests.rs
b/lightning/src/onion_message/functional_tests.rs
index 144b0e711b2646636cd55831fc2ca439aaf72ee7..1309baf60eac7ed85a5493ec8ca102653cad6eb6 100644
(file)
--- a/
lightning/src/onion_message/functional_tests.rs
+++ b/
lightning/src/onion_message/functional_tests.rs
@@
-30,8
+30,7
@@
struct MessengerNode {
impl MessengerNode {
fn get_node_pk(&self) -> PublicKey {
impl MessengerNode {
fn get_node_pk(&self) -> PublicKey {
- let secp_ctx = Secp256k1::new();
- PublicKey::from_secret_key(&secp_ctx, &self.keys_manager.get_node_secret(Recipient::Node).unwrap())
+ self.keys_manager.get_node_id(Recipient::Node).unwrap()
}
}
}
}