From 8fb464eea0f362b2eeab8fa5af888a64ce8247f2 Mon Sep 17 00:00:00 2001 From: nikitosing Date: Mon, 9 Aug 2021 20:07:32 +0300 Subject: [PATCH] Fix incorrect next page url --- CHANGELOG.md | 1 + .../controllers/tokens/instance/transfer_controller.ex | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 359659b727..68644c0ffb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - [#4452](https://github.com/blockscout/blockscout/pull/4452) - Add names for smart-conrtact's function response ### Fixes +- [#4500](https://github.com/blockscout/blockscout/pull/4500) - `/tokens/{addressHash}/instance/{id}/token-transfers`: fix incorrect next page url - [#4493](https://github.com/blockscout/blockscout/pull/4493) - Contract's code page: handle null contracts_creation_transaction - [#4488](https://github.com/blockscout/blockscout/pull/4488) - Tx page: handle empty to_address - [#4483](https://github.com/blockscout/blockscout/pull/4483) - Fix copy-paste typo in `token_transfers_counter.ex` diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/tokens/instance/transfer_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/tokens/instance/transfer_controller.ex index d687147cd9..948da9db7a 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/tokens/instance/transfer_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/tokens/instance/transfer_controller.ex @@ -27,8 +27,8 @@ defmodule BlockScoutWeb.Tokens.Instance.TransferController do token_instance_transfer_path( conn, :index, - token_id, Address.checksum(token.contract_address_hash), + token_id, Map.delete(next_page_params, "type") ) end