diff --git a/src/monero_send_routine.cpp b/src/monero_send_routine.cpp index 77a565d..3b1ac3b 100644 --- a/src/monero_send_routine.cpp +++ b/src/monero_send_routine.cpp @@ -42,7 +42,6 @@ #include "monero_key_image_utils.hpp" #include "monero_address_utils.hpp" // -using namespace std; using namespace crypto; using namespace std; using namespace boost; diff --git a/src/monero_send_routine.hpp b/src/monero_send_routine.hpp index b7f7522..3dc6a4c 100644 --- a/src/monero_send_routine.hpp +++ b/src/monero_send_routine.hpp @@ -177,21 +177,21 @@ namespace monero_send_routine // - Routine entrypoint struct Async_SendFunds_Args { // TODO: add a way to pass native structures if available - const string &from_address_string; - const string &sec_viewKey_string; - const string &sec_spendKey_string; - const string &pub_spendKey_string; - const string &to_address_string; + string from_address_string; + string sec_viewKey_string; + string sec_spendKey_string; + string pub_spendKey_string; + string to_address_string; optional payment_id_string; uint64_t sending_amount; bool is_sweeping; uint32_t simple_priority; - const send__get_unspent_outs_fn_type &get_unspent_outs_fn; - const send__get_random_outs_fn_type &get_random_outs_fn; - const send__submit_raw_tx_fn_type &submit_raw_tx_fn; - const send__status_update_fn_type &status_update_fn; - const send__error_cb_fn_type &error_cb_fn; - const send__success_cb_fn_type &success_cb_fn; + send__get_unspent_outs_fn_type get_unspent_outs_fn; + send__get_random_outs_fn_type get_random_outs_fn; + send__submit_raw_tx_fn_type submit_raw_tx_fn; + send__status_update_fn_type status_update_fn; + send__error_cb_fn_type error_cb_fn; + send__success_cb_fn_type success_cb_fn; // optional unlock_time; // default 0 optional nettype;