From 9aedfe7efd8619236eb43ed0fca8ca03872e4cd1 Mon Sep 17 00:00:00 2001 From: lvyaoting <166296299+lvyaoting@users.noreply.github.com> Date: Fri, 6 Dec 2024 05:39:44 +0800 Subject: [PATCH] chore: fix some typos in comment (#2002) Signed-off-by: lvyaoting --- bvm/Shaders/amm/contract.h | 2 +- bvm/unittest/evm_test.cpp | 2 +- node/functionaltests/tools/base_node_connection.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bvm/Shaders/amm/contract.h b/bvm/Shaders/amm/contract.h index 257100019..3c155d3a7 100644 --- a/bvm/Shaders/amm/contract.h +++ b/bvm/Shaders/amm/contract.h @@ -174,7 +174,7 @@ namespace Amm if (dCtl < m_Ctl) { - // round the return part to the samller side, this way we'll never have empty components + // round the return part to the smaller side, this way we'll never have empty components Float kRet = Float(dCtl) / Float(m_Ctl); dRet.m_Tok1 = Float(m_Tok1) * kRet; diff --git a/bvm/unittest/evm_test.cpp b/bvm/unittest/evm_test.cpp index 0c9ad1c6b..f524e35a2 100644 --- a/bvm/unittest/evm_test.cpp +++ b/bvm/unittest/evm_test.cpp @@ -802,7 +802,7 @@ namespace beam ByteBuffer ScanBuf(const std::string& s) { ByteBuffer ret; - if (s.size() > 2) // 1st 2 characers are probably 0x + if (s.size() > 2) // 1st 2 characters are probably 0x { auto len = static_cast(s.size()); ret.resize(len); diff --git a/node/functionaltests/tools/base_node_connection.cpp b/node/functionaltests/tools/base_node_connection.cpp index ec533efe6..4c7c2bc20 100644 --- a/node/functionaltests/tools/base_node_connection.cpp +++ b/node/functionaltests/tools/base_node_connection.cpp @@ -85,7 +85,7 @@ void BaseTestNode::Run() void BaseTestNode::OnConnectedSecure() { - BEAM_LOG_INFO() << "connection is succeded"; + BEAM_LOG_INFO() << "connection is succeeded"; } void BaseTestNode::OnDisconnect(const DisconnectReason& reason)