aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-15 19:18:52 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-15 19:18:52 +0100
commit8231997b6674b8cd3e01ca242ac71fd829432c8e (patch)
tree66700ad86959bd7d3d46151d26e8a1e41c380027 /src/wallet/wallet2.h
parentwallet: force 0 mixin transactions to use pre-rct txes (diff)
downloadmonero-8231997b6674b8cd3e01ca242ac71fd829432c8e.tar.xz
simplewallet: fix sweep_all misreporting sweeped amount for rct outputs
RingCT outputs will be 0 in the vin, so we need to get the actual amount from elsewhere.
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index a039c92d6..e445ebe1b 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -447,6 +447,7 @@ namespace tools
bool get_tx_key(const crypto::hash &txid, crypto::secret_key &tx_key) const;
uint64_t get_num_rct_outputs();
+ const transfer_details &get_transfer_details(size_t idx) const;
void get_hard_fork_info(uint8_t version, uint64_t &earliest_height);
bool use_fork_rules(uint8_t version, int64_t early_blocks = 0);