Merge pull request #9824

da8907974 chore: fix some typos in comments (shenpengfeng)
This commit is contained in:
tobtoht
2025-03-24 02:45:18 +00:00
5 changed files with 5 additions and 5 deletions

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"};