Fix spelling in do_test_monitor_temporary_update_fail comment
authorMatt Corallo <git@bluematt.me>
Mon, 21 Jan 2019 17:25:57 +0000 (12:25 -0500)
committerMatt Corallo <git@bluematt.me>
Wed, 23 Jan 2019 21:54:53 +0000 (16:54 -0500)
src/ln/chanmon_update_fail_tests.rs

index 545ffc1ec936c5b91343257f34d16f532273c56b..cd1df0263c87ac1ec67ca66a8f7d04105f6afe51 100644 (file)
@@ -140,7 +140,7 @@ fn do_test_monitor_temporary_update_fail(disconnect_count: usize) {
        //   TemporaryFailure likely indicates net disconnect which resulted in failing to update
        //   the ChannelMonitor on a watchtower).
        // * If !(disconnect_count & 16) we deliver a update_fulfill_htlc/CS for the first payment
-       //   immediately, otherwise we wait sconnect and deliver them via the reconnect
+       //   immediately, otherwise we wait disconnect and deliver them via the reconnect
        //   channel_reestablish processing (ie disconnect_count & 16 makes no sense if
        //   disconnect_count & !disconnect_flags is 0).
        // * We then update the channel monitor, reconnecting if disconnect_count is set and walk