chore: fix some typos in comments

Signed-off-by: shenpengfeng <xinhangzhou@icloud.com>
This commit is contained in:
shenpengfeng 2025-02-28 00:40:29 +08:00
parent 8d6aff9590
commit da8907974e
5 changed files with 5 additions and 5 deletions
Doxyfile
src/device_trezor
tests
libwallet_api_tests/scripts
trezor
unit_tests

View file

@ -1074,7 +1074,7 @@ HTML_STYLESHEET =
# defined cascading style sheet that is included after the standard style sheets
# created by doxygen. Using this option one can overrule certain style aspects.
# This is preferred over using HTML_STYLESHEET since it does not replace the
# standard style sheet and is therefor more robust against future updates.
# standard style sheet and is therefore more robust against future updates.
# Doxygen will copy the style sheet file to the output directory. For an example
# see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.

View file

@ -705,7 +705,7 @@ namespace trezor {
if ((env_trezor_client_version = getenv("TREZOR_CLIENT_VERSION")) != nullptr){
auto succ = epee::string_tools::get_xtype_from_string(client_version, env_trezor_client_version);
if (succ){
MINFO("Trezor client version overriden by TREZOR_CLIENT_VERSION to: " << client_version);
MINFO("Trezor client version overridden by TREZOR_CLIENT_VERSION to: " << client_version);
}
}
#endif

View file

@ -9,7 +9,7 @@
* Directory with pre-generated wallets
(wallet_01.bin, wallet_02.bin,...,wallet_06.bin, some of these wallets might not be used in the tests currently).
By default, tests expect these wallets to be in ```/var/monero/testnet_pvt```.
Directory can be overriden with environment variable ```WALLETS_ROOT_DIR=<your_directory_with_wallets>```.
Directory can be overridden with environment variable ```WALLETS_ROOT_DIR=<your_directory_with_wallets>```.
Directory and files should be writable for the user running tests.

View file

@ -60,7 +60,7 @@ public:
BEGIN_URI_MAP2()
MAP_URI_AUTO_JON2("/send_raw_transaction", on_send_raw_tx_2, cryptonote::COMMAND_RPC_SEND_RAW_TX)
MAP_URI_AUTO_JON2("/sendrawtransaction", on_send_raw_tx_2, cryptonote::COMMAND_RPC_SEND_RAW_TX)
else { // Default to parent for non-overriden callbacks
else { // Default to parent for non-overridden callbacks
return cryptonote::core_rpc_server::handle_http_request_map(query_info, response_info, m_conn_context);
}
END_URI_MAP2()

View file

@ -220,7 +220,7 @@ namespace
static std::pair<boost::uuids::uuid, typename T::request> get_message(std::deque<received_message>& queue)
{
if (queue.empty())
throw std::logic_error{"Queue has no received messges"};
throw std::logic_error{"Queue has no received messages"};
if (queue.front().command != T::ID)
throw std::logic_error{"Unexpected ID at front of message queue"};