From 5580027ce207eb6d7aa1149d545dc5a70c4bbf5a Mon Sep 17 00:00:00 2001 From: zees-dev Date: Sat, 7 Dec 2024 12:56:18 +1300 Subject: [PATCH] extract_contract_call_data function made public --- packages/fuels-programs/src/calls/receipt_parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fuels-programs/src/calls/receipt_parser.rs b/packages/fuels-programs/src/calls/receipt_parser.rs index fb98fd890b..7027ea9d30 100644 --- a/packages/fuels-programs/src/calls/receipt_parser.rs +++ b/packages/fuels-programs/src/calls/receipt_parser.rs @@ -59,7 +59,7 @@ impl ReceiptParser { ) } - fn extract_contract_call_data(&mut self, target_contract: ContractId) -> Option> { + pub fn extract_contract_call_data(&mut self, target_contract: ContractId) -> Option> { // If the script contains nested calls, we need to extract the data of the top-level call let mut nested_calls_stack = vec![];