diff --git a/templates/block.tmpl b/templates/block.tmpl index 397abc4..94dcca1 100644 --- a/templates/block.tmpl +++ b/templates/block.tmpl @@ -1,6 +1 @@ -🎉 *{{ convertAction .Pool.Coin }}* [#{{ .Block.Number }}]({{ formatBlockURL .Pool.Coin .Block.Hash }}) _ -{{- if (eq .Pool.Coin "xch") -}} - {{ printf "%.2f" (convertCurrency .Pool.Coin .Block.Reward) }} - {{- else -}} - {{ printf "%.6f" (convertCurrency .Pool.Coin .Block.Reward) }} - {{- end }} {{ upper .Pool.Coin }}_ \ No newline at end of file +🎉 *{{ convertAction .Pool.Coin }}* [#{{ .Block.Number }}]({{ formatBlockURL .Pool.Coin .Block.Hash }}) _{{ printf "%.6f" (convertCurrency .Pool.Coin .Block.Reward) }} {{ upper .Pool.Coin }}_