From c2af76a993ce1c9a68d658f86d2f95157df15a7b Mon Sep 17 00:00:00 2001 From: slicesequal Date: Fri, 5 Sep 2025 19:05:41 +0800 Subject: [PATCH] chore: fix some typos in comment Signed-off-by: slicesequal --- docs/AccountGuide.md | 2 +- pallets/cacher/src/tests.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/AccountGuide.md b/docs/AccountGuide.md index 0546a201..30a7c5d6 100644 --- a/docs/AccountGuide.md +++ b/docs/AccountGuide.md @@ -42,7 +42,7 @@ The account is created successfully as shown below. ### Backup CESS account -Click the setting option on the right side of the account and click "export accout" to export the backup file. +Click the setting option on the right side of the account and click "export account" to export the backup file. ![Image](https://raw.githubusercontent.com/Cumulus2021/W3F-illustration/main/docs/account%20guide/img7.png) diff --git a/pallets/cacher/src/tests.rs b/pallets/cacher/src/tests.rs index 791d3951..becda1a5 100644 --- a/pallets/cacher/src/tests.rs +++ b/pallets/cacher/src/tests.rs @@ -42,7 +42,7 @@ fn update_works() { ip: IpAddress::IPV4([127, 0, 0, 1], 80), byte_price: 200u32.into(), }; - // Wrong accout update fails. + // Wrong account update fails. assert_noop!( Cacher::update(RuntimeOrigin::signed(2), new_info.clone()), @@ -66,7 +66,7 @@ fn logout_works() { }; assert_ok!(Cacher::register(RuntimeOrigin::signed(1), info.clone())); - // Wrong accout logout fails. + // Wrong account logout fails. assert_noop!(Cacher::logout(RuntimeOrigin::signed(2)), Error::::UnRegister); // Logout works.