From ef233929c0d18184bb2529e100f5884aa3782cfd Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 29 Aug 2023 19:00:39 +0300 Subject: [PATCH] query_id calculate mistake Before: (32 + query_id) used as shift count After: query_id added after shift --- tonsdk/contract/wallet/_highload_wallet_contract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tonsdk/contract/wallet/_highload_wallet_contract.py b/tonsdk/contract/wallet/_highload_wallet_contract.py index 6902baf..fb3a3c5 100644 --- a/tonsdk/contract/wallet/_highload_wallet_contract.py +++ b/tonsdk/contract/wallet/_highload_wallet_contract.py @@ -32,7 +32,7 @@ def __init__(self, **kwargs) -> None: def create_transfer_message(self, recipients_list: list, query_id: int, timeout=60, dummy_signature=False): if query_id < int(time.time() + timeout) << 32: - query_id = int(time.time() + timeout) << 32 + query_id + query_id = (int(time.time() + timeout) << 32) + query_id signing_message = self.create_signing_message(query_id) recipients = begin_dict(16)