Drop requirement that all ChannelKeys expose the payment_point
[rust-lightning] / lightning / src / chain / transaction.rs
index 33b9c7244a37d1ad13adedda973c70a23c40f10a..d490797bc8e74cc541d1c4db4269d876991c9324 100644 (file)
@@ -16,11 +16,6 @@ pub struct 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];