Merge pull request #3375 from poanetwork/vb-fix-token-search

Prevent terminating of tokens/contracts process
pull/3376/head
Victor Baranov 4 years ago committed by GitHub
commit 51ed8743b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 2
      apps/explorer/lib/explorer/chain.ex

@ -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

@ -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 <> ":*"

Loading…
Cancel
Save