From 5694e14d535eea4be45dacb7790f2c3f8183e634 Mon Sep 17 00:00:00 2001 From: comfsrt <155266597+comfsrt@users.noreply.github.com> Date: Tue, 4 Feb 2025 12:02:04 +0100 Subject: [PATCH 1/2] Update api_full.go --- api/api_full.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api_full.go b/api/api_full.go index 549ef3aff7a..69d69d0454b 100644 --- a/api/api_full.go +++ b/api/api_full.go @@ -90,7 +90,7 @@ type FullNode interface { // Returns: // - *types.IndexValidation: A pointer to an IndexValidation struct containing the results of the validation/backfill. // - error: An error object if the validation/backfill fails. The error message will contain details about the index - // corruption if the call fails because of an incosistency between indexed data and the actual chain state. + // corruption if the call fails because of an inconsistency between indexed data and the actual chain state. // Note: The API returns an error if the index does not have data for the specified epoch and backfill is set to false. ChainValidateIndex(ctx context.Context, epoch abi.ChainEpoch, backfill bool) (*types.IndexValidation, error) //perm:write From 7f69d8478dba3cf7e0e633af0b9ed0212c684adb Mon Sep 17 00:00:00 2001 From: comfsrt <155266597+comfsrt@users.noreply.github.com> Date: Tue, 4 Feb 2025 12:02:39 +0100 Subject: [PATCH 2/2] Update api_storage.go --- api/api_storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api_storage.go b/api/api_storage.go index 45c0120fb84..469ee056ebd 100644 --- a/api/api_storage.go +++ b/api/api_storage.go @@ -215,7 +215,7 @@ type StorageMiner interface { // in this instance. RuntimeSubsystems(ctx context.Context) (MinerSubsystems, error) //perm:read - // CreateBackup creates node backup onder the specified file name. The + // CreateBackup creates node backup under the specified file name. The // method requires that the lotus-miner is running with the // LOTUS_BACKUP_BASE_PATH environment variable set to some path, and that // the path specified when calling CreateBackup is within the base path