keysinterface: adapt get_node_secret for phantom payments
[rust-lightning] / lightning / src / ln / channel.rs
index 5ce0df13cb9c5f26fc8f8c786ebbb1ac176f005f..fb9213142ae740e4b487786be3e50c7a9268807b 100644 (file)
@@ -6236,7 +6236,7 @@ mod tests {
        impl KeysInterface for Keys {
                type Signer = InMemorySigner;
 
-               fn get_node_secret(&self) -> SecretKey { panic!(); }
+               fn get_node_secret(&self, _recipient: Recipient) -> Result<SecretKey, ()> { panic!(); }
                fn get_inbound_payment_key_material(&self) -> KeyMaterial { panic!(); }
                fn get_destination_script(&self) -> Script {
                        let secp_ctx = Secp256k1::signing_only();