Clean up ChannelMonitor object serialization to use TLVs/versions
[rust-lightning] / lightning / src / chain / transaction.rs
index 4db5fbed6a8b9ed50f476f93c5a9581243857e33..502eb895b2683e4ad3b7fa5bc34f367111781ede 100644 (file)
@@ -73,14 +73,6 @@ impl OutPoint {
                        vout: self.index as u32,
                }
        }
-
-       /// Creates a dummy BitcoinOutPoint, useful for deserializing into.
-       pub(crate) fn null() -> Self {
-               Self {
-                       txid: Default::default(),
-                       index: 0
-               }
-       }
 }
 
 impl_writeable!(OutPoint, 0, { txid, index });