Skip to content

Commit

Permalink
chore: fix some typos in comment (#2002)
Browse files Browse the repository at this point in the history
Signed-off-by: lvyaoting <lvyaoting@outlook.com>
  • Loading branch information
lvyaoting authored Dec 5, 2024
1 parent 92c8f89 commit 9aedfe7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bvm/Shaders/amm/contract.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion bvm/unittest/evm_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<uint32_t>(s.size());
ret.resize(len);
Expand Down
2 changes: 1 addition & 1 deletion node/functionaltests/tools/base_node_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9aedfe7

Please sign in to comment.