diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-01-08 01:14:09 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-09-26 01:11:27 +0200 |
commit | faef293cf311a1063b31f90b645cb491d0140930 (patch) | |
tree | bd67b895fce33411eb8a99cb18311ed3a39033ca /src/ui_interface.cpp | |
parent | 24f72e9f3fd0ce64b944c2a474786f06ed5fa0fd (diff) |
[wallet] Add high transaction fee warnings
Diffstat (limited to 'src/ui_interface.cpp')
-rw-r--r-- | src/ui_interface.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui_interface.cpp b/src/ui_interface.cpp index c778e40a90..74a13e0e05 100644 --- a/src/ui_interface.cpp +++ b/src/ui_interface.cpp @@ -18,6 +18,11 @@ void InitWarning(const std::string& str) uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_WARNING); } +std::string AmountHighWarn(const std::string& optname) +{ + return strprintf(_("%s is set very high!"), optname); +} + std::string AmountErrMsg(const char* const optname, const std::string& strValue) { return strprintf(_("Invalid amount for -%s=<amount>: '%s'"), optname, strValue); |