projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95dc276
)
Drop TODO suggesting we avoid a test-only function to get chan keys
2019-07-useless-todo-removal
author
Matt Corallo
<git@bluematt.me>
Sun, 28 Jul 2019 00:49:44 +0000
(20:49 -0400)
committer
Matt Corallo
<git@bluematt.me>
Sun, 28 Jul 2019 00:50:51 +0000
(20:50 -0400)
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
patch
|
blob
|
history
diff --git
a/src/ln/channel.rs
b/src/ln/channel.rs
index 9283e9a9f4dfd8479f0f800a96297da073d717af..7bda307077ccc839cfa8e9fb6287a84cdfde4846 100644
(file)
--- 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