Skip to content

Commit

Permalink
Fix some typos (#1970)
Browse files Browse the repository at this point in the history
* typo: cli.cpp

* typo: mediator.cpp

typo & grammar

* typo: mediator.cpp
  • Loading branch information
Maxnflaxl authored May 10, 2024
1 parent 34487cc commit 008bcdd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion wallet/cli/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2751,7 +2751,7 @@ namespace
auto walletDB = OpenDataBase(vm);
if (HasActiveSwapTx(walletDB, swapCoin))
{
LOG_ERROR() << "You cannot change settings while you have transactions in progress. Please wait untill transactions are completed and try again.";
LOG_ERROR() << "You cannot change settings while you have transactions in progress. Please wait until transactions are completed and try again.";
return -1;
}

Expand Down
10 changes: 5 additions & 5 deletions wallet/laser/mediator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,15 +410,15 @@ bool Mediator::Close(const std::string& channelID)
if (channel->get_State() != Lightning::Channel::State::Open)
{
LOG_ERROR() << "Previous action with channel: " << channelID
<< " is unfinished. Please, listen this channel till action complete.";
<< " is unfinished. Please, listen to this channel until action is complete.";
return false;
}

m_actionsQueue.emplace_back([this, p_channelID] () {
CloseInternal(p_channelID);
});

LOG_DEBUG() << "Closing channel: " << channelID << " is sceduled";
LOG_DEBUG() << "Closing channel: " << channelID << " is scheduled";
return true;
}

Expand Down Expand Up @@ -448,7 +448,7 @@ bool Mediator::GracefulClose(const std::string& channelID)
if (channel->get_State() != Lightning::Channel::State::Open)
{
LOG_ERROR() << "Previous action with channel: " << channelID
<< " is unfinished. Please, listen this channel till action complete.";
<< " is unfinished. Please, listen to this channel until action is complete.";
return false;
}

Expand All @@ -457,7 +457,7 @@ bool Mediator::GracefulClose(const std::string& channelID)
m_actionsQueue.emplace_back([this, &channel] () {
GracefulCloseInternal(channel);
});
LOG_DEBUG() << "Closing channel: " << channelID << " is sceduled";
LOG_DEBUG() << "Closing channel: " << channelID << " is scheduled";
}
else
{
Expand Down Expand Up @@ -582,7 +582,7 @@ bool Mediator::Transfer(Amount amount, const std::string& channelID)

LOG_INFO() << "Sync in progress...";
LOG_DEBUG() << "Transfer: " << PrintableAmount(amount, true)
<< " to channel: " << channelID << " is sceduled";
<< " to channel: " << channelID << " is scheduled";
}
else
{
Expand Down

0 comments on commit 008bcdd

Please sign in to comment.