Add test_invalid_channel_announcemnt + test utilities
[rust-lightning] / src / ln / router.rs
index e7f689e5fb85749dabcf25f5370940cb59b0f93f..e3697147f0a6e0f1d34657d9024ef10b19a4608d 100644 (file)
@@ -222,7 +222,7 @@ impl RoutingMessageHandler for Router {
                                //to the new HTLC max field in channel_update
                        },
                        Err(ChainError::NotSupported) => {
-                               // Tenatively accept, potentially exposing us to DoS attacks
+                               // Tentatively accept, potentially exposing us to DoS attacks
                        },
                        Err(ChainError::NotWatched) => {
                                return Err(HandleError{err: "Channel announced on an unknown chain", action: Some(ErrorAction::IgnoreError)});