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 5f67ba2279
feat: Chia blocks need more precision
Block rewards of Chia blockchain were fixed to 1.75 XCH. Now, they
include a variable transaction fee. This commit sets the precision to 6
digits after the floating point, like Ethereum block rewards.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-11-04 18:47:59 +01:00

1 line
194 B
Cheetah

🎉 *{{ convertAction .Pool.Coin }}* [#{{ .Block.Number }}]({{ formatBlockURL .Pool.Coin .Block.Hash }}) _{{ printf "%.6f" (convertCurrency .Pool.Coin .Block.Reward) }} {{ upper .Pool.Coin }}_