Merge pull request #8695 from blockscout/ap-fix-internal-transactions-error

Don't override internal transaction error if it's present already
pull/8696/head
Victor Baranov 1 year ago committed by GitHub
commit 15a48bed36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      CHANGELOG.md
  2. 2
      apps/indexer/lib/indexer/fetcher/internal_transaction.ex

@ -9,8 +9,9 @@
### Fixes
- [#8678](https://github.com/blockscout/blockscout/pull/8678) - Fix `is_verified` for `/addresses` and `/smart-contracts`
- [#8695](https://github.com/blockscout/blockscout/pull/8695) - Don't override internal transaction error if it's present already
- [#8685](https://github.com/blockscout/blockscout/pull/8685) - Fix db pool size exceeds Postgres max connections
- [#8678](https://github.com/blockscout/blockscout/pull/8678) - Fix `is_verified` for `/addresses` and `/smart-contracts`
### Chore

@ -306,7 +306,7 @@ defmodule Indexer.Fetcher.InternalTransaction do
|> Map.delete(:created_contract_code)
|> Map.delete(:gas_used)
|> Map.delete(:output)
|> Map.put(:error, failed_parent[:error])
|> Map.put_new(:error, failed_parent[:error])
else
internal_transaction_param
end

Loading…
Cancel
Save