aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-10 10:33:17 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-11-14 13:12:39 +0000
commitda8b60cbbf9573ffc4ade67737463562f047a790 (patch)
treef90ebc246f3aca8f97fccdb1f20b735b86c8586f /src/wallet/wallet2.h
parentMerge pull request #2685 (diff)
downloadmonero-da8b60cbbf9573ffc4ade67737463562f047a790.tar.xz
simplewallet: reject attempts to use too low mixin early
This yields a clear error message rather then some possibly confusing more technical errors down the line
Diffstat (limited to '')
-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 ba2fc567d..b4a4409ba 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -761,6 +761,7 @@ namespace tools
uint64_t get_fee_multiplier(uint32_t priority, int fee_algorithm = -1);
uint64_t get_per_kb_fee();
+ uint64_t adjust_mixin(uint64_t mixin);
// Light wallet specific functions
// fetch unspent outs from lw node and store in m_transfers