File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
lightning/src/blinded_path Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ pub mod payment;
13
13
pub ( crate ) mod message;
14
14
pub ( crate ) mod utils;
15
15
16
+ use std:: ops:: Deref ;
16
17
use bitcoin:: secp256k1:: { self , PublicKey , Secp256k1 , SecretKey } ;
17
18
18
19
use crate :: ln:: msgs:: DecodeError ;
@@ -100,6 +101,11 @@ impl NodeIdLookUp for EmptyNodeIdLookUp {
100
101
}
101
102
}
102
103
104
+ impl Deref for EmptyNodeIdLookUp {
105
+ type Target = EmptyNodeIdLookUp ;
106
+ fn deref ( & self ) -> & Self { self }
107
+ }
108
+
103
109
/// An encrypted payload and node id corresponding to a hop in a payment or onion message path, to
104
110
/// be encoded in the sender's onion packet. These hops cannot be identified by outside observers
105
111
/// and thus can be used to hide the identity of the recipient.
You can’t perform that action at this time.
0 commit comments