diff --git a/lib/zcash_explorer_web/views/transaction_view.ex b/lib/zcash_explorer_web/views/transaction_view.ex index 984e1c1..f9bbeb4 100644 --- a/lib/zcash_explorer_web/views/transaction_view.ex +++ b/lib/zcash_explorer_web/views/transaction_view.ex @@ -24,11 +24,16 @@ defmodule ZcashExplorerWeb.TransactionView do when tx.orchard.actions == nil do 0 end - + def orchard_actions(tx) when tx.orchard.actions != nil do length(tx.orchard.actions) end + + def orchard_actions(tx) do + 0 + end + def format_zec(value) when value == nil do ""