|
|
|
@ -261,7 +261,7 @@ defmodule Explorer.Chain.Transaction do |
|
|
|
|
has_many(:internal_transactions, InternalTransaction, foreign_key: :transaction_hash) |
|
|
|
|
has_many(:logs, Log, foreign_key: :transaction_hash) |
|
|
|
|
has_many(:token_transfers, TokenTransfer, foreign_key: :transaction_hash) |
|
|
|
|
has_many(:transaction_actions, TransactionActions, foreign_key: :hash) |
|
|
|
|
has_many(:transaction_actions, TransactionActions, foreign_key: :hash, preload_order: [asc: :log_index]) |
|
|
|
|
|
|
|
|
|
belongs_to( |
|
|
|
|
:to_address, |
|
|
|
|