aboutsummaryrefslogtreecommitdiff
path: root/src/ui_interface.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-01-08 01:14:09 +0100
committerMarcoFalke <falke.marco@gmail.com>2016-09-26 01:11:27 +0200
commitfaef293cf311a1063b31f90b645cb491d0140930 (patch)
treebd67b895fce33411eb8a99cb18311ed3a39033ca /src/ui_interface.cpp
parent24f72e9f3fd0ce64b944c2a474786f06ed5fa0fd (diff)
[wallet] Add high transaction fee warnings
Diffstat (limited to 'src/ui_interface.cpp')
-rw-r--r--src/ui_interface.cpp5
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);