diff options
author | mydesktop <dev.mc2@gmail.com> | 2014-05-03 12:19:43 -0400 |
---|---|---|
committer | mydesktop <dev.mc2@gmail.com> | 2014-05-03 12:19:43 -0400 |
commit | 333f975760c156727dd7408f87e937af856d8bf1 (patch) | |
tree | 1928b27eaac60f0b528f17abbc52d5ad812013d0 /src/wallet/wallet_errors.h | |
parent | Merge branch 'master' of github.com:monero-project/bitmonero (diff) | |
download | monero-333f975760c156727dd7408f87e937af856d8bf1.tar.xz |
initial [broken] update
Diffstat (limited to 'src/wallet/wallet_errors.h')
-rw-r--r-- | src/wallet/wallet_errors.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/wallet/wallet_errors.h b/src/wallet/wallet_errors.h index b2a863436..0d42dbaf4 100644 --- a/src/wallet/wallet_errors.h +++ b/src/wallet/wallet_errors.h @@ -34,7 +34,6 @@ namespace tools // block_parse_error // get_blocks_error // get_out_indexes_error - // tx_extra_parse_error // tx_parse_error // transfer_error * // get_random_outs_general_error @@ -248,28 +247,6 @@ namespace tools //---------------------------------------------------------------------------------------------------- typedef failed_rpc_request<refresh_error, get_out_indices_error_message_index> get_out_indices_error; //---------------------------------------------------------------------------------------------------- - struct tx_extra_parse_error : public refresh_error - { - explicit tx_extra_parse_error(std::string&& loc, const cryptonote::transaction& tx) - : refresh_error(std::move(loc), "transaction extra parse error") - , m_tx(tx) - { - } - - const cryptonote::transaction& tx() const { return m_tx; } - - std::string to_string() const - { - std::ostringstream ss; - cryptonote::transaction tx = m_tx; - ss << refresh_error::to_string() << ", tx: " << cryptonote::obj_to_json_str(tx); - return ss.str(); - } - - private: - const cryptonote::transaction m_tx; - }; - //---------------------------------------------------------------------------------------------------- struct tx_parse_error : public refresh_error { explicit tx_parse_error(std::string&& loc, const cryptonote::blobdata& tx_blob) |