refacto: Remove overengineered convertAction func
Because it can be simply replaced by a condition. Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
5f67ba2279
commit
fed6459f9d
4 changed files with 1 additions and 15 deletions
|
|
@ -93,7 +93,6 @@ func (t *TelegramNotifier) formatMessage(templateFileName string, attachment int
|
|||
"upper": strings.ToUpper,
|
||||
"lower": strings.ToLower,
|
||||
"convertCurrency": ConvertCurrency,
|
||||
"convertAction": ConvertAction,
|
||||
"formatBlockURL": FormatBlockURL,
|
||||
"formatTransactionURL": FormatTransactionURL,
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue