|
|
@ -4,7 +4,7 @@ defmodule BlockScoutWeb.AddressChannel do |
|
|
|
""" |
|
|
|
""" |
|
|
|
use BlockScoutWeb, :channel |
|
|
|
use BlockScoutWeb, :channel |
|
|
|
|
|
|
|
|
|
|
|
alias BlockScoutWeb.{AddressInternalTransactionView, AddressTransactionView, AddressView} |
|
|
|
alias BlockScoutWeb.{AddressInternalTransactionView, AddressView, TransactionView} |
|
|
|
alias Phoenix.View |
|
|
|
alias Phoenix.View |
|
|
|
|
|
|
|
|
|
|
|
intercept(["balance_update", "count", "internal_transaction", "transaction"]) |
|
|
|
intercept(["balance_update", "count", "internal_transaction", "transaction"]) |
|
|
@ -47,7 +47,6 @@ defmodule BlockScoutWeb.AddressChannel do |
|
|
|
View.render_to_string( |
|
|
|
View.render_to_string( |
|
|
|
AddressInternalTransactionView, |
|
|
|
AddressInternalTransactionView, |
|
|
|
"_internal_transaction.html", |
|
|
|
"_internal_transaction.html", |
|
|
|
locale: socket.assigns.locale, |
|
|
|
|
|
|
|
address: address, |
|
|
|
address: address, |
|
|
|
internal_transaction: internal_transaction |
|
|
|
internal_transaction: internal_transaction |
|
|
|
) |
|
|
|
) |
|
|
@ -66,8 +65,8 @@ defmodule BlockScoutWeb.AddressChannel do |
|
|
|
|
|
|
|
|
|
|
|
rendered = |
|
|
|
rendered = |
|
|
|
View.render_to_string( |
|
|
|
View.render_to_string( |
|
|
|
AddressTransactionView, |
|
|
|
TransactionView, |
|
|
|
"_transaction.html", |
|
|
|
"_tile.html", |
|
|
|
address: address, |
|
|
|
address: address, |
|
|
|
transaction: transaction |
|
|
|
transaction: transaction |
|
|
|
) |
|
|
|
) |
|
|
|