Skip to content

Commit

Permalink
Search io transaction when getting SC calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Neylix committed Jun 1, 2023
1 parent ecf009c commit ea41d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/archethic/p2p/message/get_contract_calls.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmodule Archethic.P2P.Message.GetContractCalls do

# will crash if a task did not succeed
transactions =
Task.async_stream(transaction_addresses, &TransactionChain.get_transaction(&1))
Task.async_stream(transaction_addresses, &TransactionChain.get_transaction(&1, [], :io))
|> Stream.map(fn {:ok, {:ok, tx}} -> tx end)
|> Enum.to_list()

Expand Down

0 comments on commit ea41d44

Please sign in to comment.