From 094d39375e22771b959892bf74b16d34d91bf243 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Tue, 20 Oct 2020 20:42:42 +0300 Subject: [PATCH] Prevent terminating of tokens/contracts process --- CHANGELOG.md | 1 + apps/explorer/lib/explorer/chain.ex | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a7c52d014..821e62a6c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ ### Fixes +- [#3375](https://github.com/poanetwork/blockscout/pull/3375) - Prevent terminating of tokens/contracts process - [#3374](https://github.com/poanetwork/blockscout/pull/3374) - Fix find block timestamp query - [#3373](https://github.com/poanetwork/blockscout/pull/3373) - Fix horizontal scroll in Tokens table - [#3370](https://github.com/poanetwork/blockscout/pull/3370) - Improve contracts verification: refine constructor arguments extractor diff --git a/apps/explorer/lib/explorer/chain.ex b/apps/explorer/lib/explorer/chain.ex index d27c996d64..9e0f5aa441 100644 --- a/apps/explorer/lib/explorer/chain.ex +++ b/apps/explorer/lib/explorer/chain.ex @@ -1058,6 +1058,7 @@ defmodule Explorer.Chain do def search_token(word) do term = word + |> String.replace(~r/[^a-zA-Z0-9]/, " ") |> String.replace(~r/ +/, " & ") term_final = term <> ":*" @@ -1086,6 +1087,7 @@ defmodule Explorer.Chain do def search_contract(word) do term = word + |> String.replace(~r/[^a-zA-Z0-9]/, " ") |> String.replace(~r/ +/, " & ") term_final = term <> ":*"