From 8657bfea6c902f762d6dfcee5608e3e8f58dfc2b Mon Sep 17 00:00:00 2001 From: stellrust Date: Sat, 1 Jun 2024 16:08:41 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: stellrust --- src/FIO/Signer.cpp | 2 +- tools/ios-build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FIO/Signer.cpp b/src/FIO/Signer.cpp index 440e0c5535a..0e90e84df30 100644 --- a/src/FIO/Signer.cpp +++ b/src/FIO/Signer.cpp @@ -61,7 +61,7 @@ bool Signer::verify(const PublicKey& pubKey, const Data& data, const Data& signa return pubKey.verify(TW::data(signature.data() + 1, signature.size() - 1), data); } -// canonical check for FIO, both R and S lenght is 32 +// canonical check for FIO, both R and S length is 32 int Signer::isCanonical([[maybe_unused]] uint8_t by, uint8_t sig[64]) { return !(sig[0] & 0x80) && !(sig[0] == 0 && !(sig[1] & 0x80)) diff --git a/tools/ios-build b/tools/ios-build index c7ddc0e5721..6a7b73eb96e 100755 --- a/tools/ios-build +++ b/tools/ios-build @@ -43,7 +43,7 @@ build_mac_x64_arm64() { } create_xc_framework() { - echo "Createing xcframework..." + echo "Creating xcframework..." xcodebuild -create-xcframework -output $BUILD_FOLDER/$FRAMEWORK.xcframework \ -framework $BUILD_FOLDER/ios-arm64.xcarchive/Products/Library/Frameworks/$FRAMEWORK.framework \ -framework $BUILD_FOLDER/ios-arm64_x86_64-simulator.xcarchive/Products/Library/Frameworks/$FRAMEWORK.framework \