Add test_invalid_channel_announcemnt + test utilities
[rust-lightning] / src / chain / transaction.rs
index f89b6080600a46b32bcbc5afc4ff66cafdd39c42..227afa0de68e35bf8a104ea913f6ce7e2c6b0db0 100644 (file)
@@ -13,7 +13,7 @@ pub struct OutPoint {
 }
 
 impl OutPoint {
-       /// Creates a new `OutPoint` from the txid an the index.
+       /// Creates a new `OutPoint` from the txid and the index.
        pub fn new(txid: Sha256dHash, index: u16) -> OutPoint {
                OutPoint { txid, index }
        }