Merge pull request #1871 from poanetwork/fetching-contract-code

Transaction importer return created_contract_address_hash
pull/1859/head
Victor Baranov 6 years ago committed by GitHub
commit 2e11ff5332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      apps/explorer/lib/explorer/chain/import/runner/transactions.ex

@ -86,7 +86,8 @@ defmodule Explorer.Chain.Import.Runner.Transactions do
conflict_target: :hash, conflict_target: :hash,
on_conflict: on_conflict, on_conflict: on_conflict,
for: Transaction, for: Transaction,
returning: ~w(block_number index hash internal_transactions_indexed_at block_hash nonce from_address_hash)a, returning:
~w(block_number index hash internal_transactions_indexed_at block_hash nonce from_address_hash created_contract_address_hash)a,
timeout: timeout, timeout: timeout,
timestamps: timestamps timestamps: timestamps
) )

Loading…
Cancel
Save