update send_tx(s) to create_tx(s)

This commit is contained in:
woodser
2021-01-22 10:05:22 -05:00
parent b1c63f29f8
commit f133f66d0e
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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<std::shared_ptr<monero_tx_wallet>> 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<std::shared_ptr<monero_tx_wallet>> txs;
auto tx_hashes_iter = tx_hashes.begin();
auto tx_keys_iter = tx_keys.begin();
+1 -1
View File
@@ -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.
*/