chore(chain): fix comment

This commit is contained in:
志宇 2024-04-22 10:39:37 +08:00
parent daf588f016
commit 2f22987c9e
No known key found for this signature in database
GPG Key ID: F6345C9837C2BDE8

View 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,