From 753395536db9b14768b516cad2ed7e65fd500501 Mon Sep 17 00:00:00 2001 From: Felipe Alvarado Date: Thu, 27 Jun 2024 13:11:24 +0200 Subject: [PATCH] Apply PR suggestion Co-authored-by: Frederico Sabino <3332770+fmrsabino@users.noreply.github.com> --- src/safe_cli/tx_builder/tx_builder_file_decoder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/safe_cli/tx_builder/tx_builder_file_decoder.py b/src/safe_cli/tx_builder/tx_builder_file_decoder.py index 7cb1d33a..84c841c1 100644 --- a/src/safe_cli/tx_builder/tx_builder_file_decoder.py +++ b/src/safe_cli/tx_builder/tx_builder_file_decoder.py @@ -174,7 +174,7 @@ def is_array_of_strings_field_type(field_type: str) -> bool: def is_array_field_type(field_type: str) -> bool: - pattern = re.compile(r"\[\d*\]$") + pattern = re.compile(r"\[\d*]$") return bool(pattern.search(field_type))