Skip to content

Commit ce6f561

Browse files
committed
Drop TODO suggesting we avoid a test-only function to get chan keys
It suggested figuring something else out after lightningdevkit#81, but the API we settled on after lightningdevkit#81 (which I think is just fine) doesn't allow for anything cleaner, so this is fine as-is.
1 parent 95dc276 commit ce6f561

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ln/channel.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2831,7 +2831,6 @@ impl Channel {
28312831
self.cur_remote_commitment_transaction_number + 2
28322832
}
28332833

2834-
//TODO: Testing purpose only, should be changed in another way after #81
28352834
#[cfg(test)]
28362835
pub fn get_local_keys(&self) -> &ChannelKeys {
28372836
&self.local_keys

0 commit comments

Comments
 (0)