mirror of
https://github.com/monero-project/monero.git
synced 2025-06-07 16:02:42 -04:00
chore: fix some typos in comments
Signed-off-by: shenpengfeng <xinhangzhou@icloud.com>
This commit is contained in:
parent
8d6aff9590
commit
da8907974e
5 changed files with 5 additions and 5 deletions
2
Doxyfile
2
Doxyfile
|
@ -1074,7 +1074,7 @@ HTML_STYLESHEET =
|
||||||
# defined cascading style sheet that is included after the standard style sheets
|
# defined cascading style sheet that is included after the standard style sheets
|
||||||
# created by doxygen. Using this option one can overrule certain style aspects.
|
# 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
|
# 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
|
# Doxygen will copy the style sheet file to the output directory. For an example
|
||||||
# see the documentation.
|
# see the documentation.
|
||||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||||
|
|
|
@ -705,7 +705,7 @@ namespace trezor {
|
||||||
if ((env_trezor_client_version = getenv("TREZOR_CLIENT_VERSION")) != nullptr){
|
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);
|
auto succ = epee::string_tools::get_xtype_from_string(client_version, env_trezor_client_version);
|
||||||
if (succ){
|
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
|
#endif
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
* Directory with pre-generated wallets
|
* 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).
|
(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```.
|
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.
|
Directory and files should be writable for the user running tests.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@ public:
|
||||||
BEGIN_URI_MAP2()
|
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("/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)
|
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);
|
return cryptonote::core_rpc_server::handle_http_request_map(query_info, response_info, m_conn_context);
|
||||||
}
|
}
|
||||||
END_URI_MAP2()
|
END_URI_MAP2()
|
||||||
|
|
|
@ -220,7 +220,7 @@ namespace
|
||||||
static std::pair<boost::uuids::uuid, typename T::request> get_message(std::deque<received_message>& queue)
|
static std::pair<boost::uuids::uuid, typename T::request> get_message(std::deque<received_message>& queue)
|
||||||
{
|
{
|
||||||
if (queue.empty())
|
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)
|
if (queue.front().command != T::ID)
|
||||||
throw std::logic_error{"Unexpected ID at front of message queue"};
|
throw std::logic_error{"Unexpected ID at front of message queue"};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue