]> Untitled Git - bdk/commitdiff
chore(chain): fix comment
author志宇 <hello@evanlinjin.me>
Mon, 22 Apr 2024 02:39:37 +0000 (10:39 +0800)
committer志宇 <hello@evanlinjin.me>
Mon, 22 Apr 2024 02:39:37 +0000 (10:39 +0800)
crates/chain/src/local_chain.rs

index 957d1ad0aceceb3fbc86c4c66cb7e8b2c3c55761..20f7e0e03271952fd83fea0d26c5a382f41549b7 100644 (file)
@@ -368,8 +368,7 @@ impl LocalChain {
         if can_replace {
             self.tip = update;
         } else {
-            // `._check_index_is_consistent_with_tip` and `._check_changeset_is_applied` is called in
-            // `.apply_changeset`
+            // `._check_changeset_is_applied` is called in `.apply_changeset`
             self.apply_changeset(&changeset)
                 .map_err(|_| CannotConnectError {
                     try_include_height: 0,