From 38216aa7818ff30290572fe61f9a8b1ed1353402 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Tue, 5 Jul 2022 23:12:35 -0500 Subject: [PATCH] update comment for the next weary traveller (#26413) --- runtime/src/snapshot_utils.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/src/snapshot_utils.rs b/runtime/src/snapshot_utils.rs index c0b1ce54bf..e258403768 100644 --- a/runtime/src/snapshot_utils.rs +++ b/runtime/src/snapshot_utils.rs @@ -1847,6 +1847,7 @@ fn get_snapshot_storages(bank: &Bank) -> SnapshotStorages { /// Convenience function to create a full snapshot archive out of any Bank, regardless of state. /// The Bank will be frozen during the process. +/// This is only called from ledger-tool or tests. Warping is a special case as well. /// /// Requires: /// - `bank` is complete @@ -1890,6 +1891,7 @@ pub fn bank_to_full_snapshot_archive( /// Convenience function to create an incremental snapshot archive out of any Bank, regardless of /// state. The Bank will be frozen during the process. +/// This is only called from ledger-tool or tests. Warping is a special case as well. /// /// Requires: /// - `bank` is complete