aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.h
diff options
context:
space:
mode:
authorwoodser <woodser@protonmail.com>2021-05-18 20:37:03 -0400
committerwoodser <woodser@protonmail.com>2021-06-15 15:54:39 -0400
commite7615772fa7130611d2d3e8b714ca5f7c746d232 (patch)
tree6eccf34e80355beaac46bc08f5c86789db72cc9f /src/wallet/wallet_rpc_server.h
parentMerge pull request #7751 (diff)
downloadmonero-e7615772fa7130611d2d3e8b714ca5f7c746d232.tar.xz
provide key images of spent outputs in wallet rpc
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet_rpc_server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet_rpc_server.h b/src/wallet/wallet_rpc_server.h
index e1f27ea40..7169c9136 100644
--- a/src/wallet/wallet_rpc_server.h
+++ b/src/wallet/wallet_rpc_server.h
@@ -263,10 +263,10 @@ namespace tools
bool not_open(epee::json_rpc::error& er);
void handle_rpc_exception(const std::exception_ptr& e, epee::json_rpc::error& er, int default_error_code);
- template<typename Ts, typename Tu>
+ template<typename Ts, typename Tu, typename Tk>
bool fill_response(std::vector<tools::wallet2::pending_tx> &ptx_vector,
bool get_tx_key, Ts& tx_key, Tu &amount, Tu &fee, Tu &weight, std::string &multisig_txset, std::string &unsigned_txset, bool do_not_relay,
- Ts &tx_hash, bool get_tx_hex, Ts &tx_blob, bool get_tx_metadata, Ts &tx_metadata, epee::json_rpc::error &er);
+ Ts &tx_hash, bool get_tx_hex, Ts &tx_blob, bool get_tx_metadata, Ts &tx_metadata, Tk &spent_key_images, epee::json_rpc::error &er);
bool validate_transfer(const std::list<wallet_rpc::transfer_destination>& destinations, const std::string& payment_id, std::vector<cryptonote::tx_destination_entry>& dsts, std::vector<uint8_t>& extra, bool at_least_one_destination, epee::json_rpc::error& er);