From a1ad57b6334c23f88eeb01a2aa0e35c27fe9f0c7 Mon Sep 17 00:00:00 2001 From: Neylix Date: Wed, 31 May 2023 11:10:48 +0200 Subject: [PATCH] Search io transaction when getting SC calls --- lib/archethic/p2p/message/get_contract_calls.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/archethic/p2p/message/get_contract_calls.ex b/lib/archethic/p2p/message/get_contract_calls.ex index 8e87c6280..d32fd701e 100644 --- a/lib/archethic/p2p/message/get_contract_calls.ex +++ b/lib/archethic/p2p/message/get_contract_calls.ex @@ -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()