Archived
1
0
Fork 0
This repository has been archived on 2024-12-18. You can view files and clone it, but cannot push or open issues or pull requests.
flexassistant/templates/block.tmpl
Julien Riou fed6459f9d
refacto: Remove overengineered convertAction func
Because it can be simply replaced by a condition.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-11-05 07:57:51 +01:00

1 line
No EOL
223 B
Cheetah

🎉 *{{ if (eq .Pool.Coin "xch") }}Farmed{{ else }}Mined{{ end }}* [#{{ .Block.Number }}]({{ formatBlockURL .Pool.Coin .Block.Hash }}) _{{ printf "%.6f" (convertCurrency .Pool.Coin .Block.Reward) }} {{ upper .Pool.Coin }}_