diff options
| author | MarcoFalke <[email protected]> | 2016-01-08 01:14:09 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2016-09-26 01:11:27 +0200 |
| commit | faef293cf311a1063b31f90b645cb491d0140930 (patch) | |
| tree | bd67b895fce33411eb8a99cb18311ed3a39033ca /src/ui_interface.cpp | |
| parent | Merge #8371: [Qt] Add out-of-sync modal info layer (diff) | |
| download | discoin-faef293cf311a1063b31f90b645cb491d0140930.tar.xz discoin-faef293cf311a1063b31f90b645cb491d0140930.zip | |
[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 c778e40a9..74a13e0e0 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); |