From ce6f561485f3266c28ce5150a225fbe1f8137d0c Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 27 Jul 2019 20:49:44 -0400 Subject: [PATCH] Drop TODO suggesting we avoid a test-only function to get chan keys It suggested figuring something else out after #81, but the API we settled on after #81 (which I think is just fine) doesn't allow for anything cleaner, so this is fine as-is. --- src/ln/channel.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ln/channel.rs b/src/ln/channel.rs index 9283e9a9f..7bda30707 100644 --- a/src/ln/channel.rs +++ b/src/ln/channel.rs @@ -2831,7 +2831,6 @@ impl Channel { self.cur_remote_commitment_transaction_number + 2 } - //TODO: Testing purpose only, should be changed in another way after #81 #[cfg(test)] pub fn get_local_keys(&self) -> &ChannelKeys { &self.local_keys -- 2.39.5