Skip to content

Commit 41bdd1f

Browse files
committed
fix: Fix Testing
Signed-off-by: aceppaluni <aceppaluni@gmail.com>
1 parent db1317a commit 41bdd1f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/hiero_sdk_python/query/fee_estimate_query.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ def execute(self, client) -> FeeEstimateResponse:
107107
mode = self._mode or FeeEstimateMode.INTRINSIC
108108
url = self._build_url(client, mode)
109109

110+
try:
111+
self._transaction.freeze_with(client)
112+
except Exception as e:
113+
# Ignore if it's already frozen
114+
if "already frozen" not in str(e).lower():
115+
raise
116+
110117
self._ensure_frozen(self._transaction, client)
111118

112119
if self._is_chunked():

0 commit comments

Comments
 (0)