projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ChannelKeys - provide to_self_delay alongside the remote channel pubkeys
[rust-lightning]
/
lightning
/
src
/
chain
/
transaction.rs
diff --git
a/lightning/src/chain/transaction.rs
b/lightning/src/chain/transaction.rs
index 33b9c7244a37d1ad13adedda973c70a23c40f10a..d490797bc8e74cc541d1c4db4269d876991c9324 100644
(file)
--- a/
lightning/src/chain/transaction.rs
+++ b/
lightning/src/chain/transaction.rs
@@
-16,11
+16,6
@@
pub struct OutPoint {
}
impl OutPoint {
}
impl OutPoint {
- /// Creates a new `OutPoint` from the txid and the index.
- pub fn new(txid: Txid, index: u16) -> OutPoint {
- OutPoint { txid, index }
- }
-
/// Convert an `OutPoint` to a lightning channel id.
pub fn to_channel_id(&self) -> [u8; 32] {
let mut res = [0; 32];
/// Convert an `OutPoint` to a lightning channel id.
pub fn to_channel_id(&self) -> [u8; 32] {
let mut res = [0; 32];