mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
[wallet] Add high transaction fee warnings
This commit is contained in:
parent
24f72e9f3f
commit
faef293cf3
4 changed files with 24 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue