Merge pull request #142 from cake-tech/CAKE-168-blockheight-calculation-by-date

Cake 168 blockheight calculation by date
This commit is contained in:
M
2020-11-12 22:20:46 +02:00
2 changed files with 19 additions and 24 deletions
@@ -92,7 +92,7 @@ class BlockchainHeightState extends State<BlockchainHeightWidget> {
final date = await getDate(
context: context,
initialDate: now.subtract(Duration(days: 1)),
firstDate: DateTime(2014, DateTime.april),
firstDate: DateTime(2014, DateTime.may),
lastDate: now);
if (date != null) {