From 11a13c38eb1d75097c04383357b568ab19dbfcc8 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Thu, 27 Aug 2020 15:01:32 +0300 Subject: [PATCH] Token transfer: check that block exists before retrieving timestamp --- CHANGELOG.md | 1 + .../templates/tokens/transfer/_token_transfer.html.eex | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16c153dc4b..8f3b409eed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - [#3256](https://github.com/poanetwork/blockscout/pull/3256) - Fix for invisible validator address at block page and wrong alert text color at xDai ### Chore +- [#3258](https://github.com/poanetwork/blockscout/pull/3258) - Token transfer: check that block exists before retrieving timestamp ## 3.3.2-beta diff --git a/apps/block_scout_web/lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex index eb23fde29e..3e6f3f973f 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/tokens/transfer/_token_transfer.html.eex @@ -58,7 +58,7 @@ to: block_path(BlockScoutWeb.Endpoint, :show, @token_transfer.block_number) ) %> - +