From f133f66d0e4c78d075489428089d17faabcc259b Mon Sep 17 00:00:00 2001 From: woodser Date: Fri, 22 Jan 2021 10:05:22 -0500 Subject: [PATCH] update send_tx(s) to create_tx(s) --- src/wallet/monero_wallet_full.cpp | 6 +++--- src/wallet/monero_wallet_model.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wallet/monero_wallet_full.cpp b/src/wallet/monero_wallet_full.cpp index df758e1..fe60d4c 100644 --- a/src/wallet/monero_wallet_full.cpp +++ b/src/wallet/monero_wallet_full.cpp @@ -1769,7 +1769,7 @@ namespace monero { // check if request cannot be fulfilled due to splitting if (config.m_can_split != boost::none && config.m_can_split.get() == false && ptx_vector.size() != 1) { - throw std::runtime_error("Transaction would be too large. Try send_txs()"); + throw std::runtime_error("Transaction would be too large. Try create_txs()"); } // config for fill_response() @@ -2101,7 +2101,7 @@ namespace monero { throw std::runtime_error("need to handle error filling response!"); // TODO: return err message } - // build sent txs from results // TODO: use common utility with send_txs() to avoid code duplication + // build sent txs from results // TODO: use common utility with create_txs() to avoid code duplication std::vector> txs; auto tx_hashes_iter = tx_hashes.begin(); auto tx_keys_iter = tx_keys.begin(); @@ -2192,7 +2192,7 @@ namespace monero { throw std::runtime_error("need to handle error filling response!"); // TODO: return err message } - // build sent txs from results // TODO: use common utility with send_txs() to avoid code duplication + // build sent txs from results // TODO: use common utility with create_txs() to avoid code duplication std::vector> txs; auto tx_hashes_iter = tx_hashes.begin(); auto tx_keys_iter = tx_keys.begin(); diff --git a/src/wallet/monero_wallet_model.h b/src/wallet/monero_wallet_model.h index 7d34e67..34a4ea4 100644 --- a/src/wallet/monero_wallet_model.h +++ b/src/wallet/monero_wallet_model.h @@ -301,7 +301,7 @@ namespace monero { * Groups transactions who share common hex data which is needed in order to * sign and submit the transactions. * - * For example, multisig transactions created from send_txs() share a common + * For example, multisig transactions created from create_txs() share a common * hex std::string which is needed in order to sign and submit the multisig * transactions. */