diff --git a/app/core/_secrets.py b/app/core/_secrets.py index 1e090d1..4fc8567 100644 --- a/app/core/_secrets.py +++ b/app/core/_secrets.py @@ -16,14 +16,14 @@ def load_hot_pair(): return load_hot_pair() public_key, private_key = crypto_sign_seed_keypair(bytes.fromhex(hot_seed)) - return public_key, private_key + return hot_seed, public_key, private_key _extra_ton_wallet_options = {} if getenv('TON_CUSTOM_WALLET_ADDRESS'): _extra_ton_wallet_options['address'] = Address(getenv('TON_CUSTOM_WALLET_ADDRESS')) -hot_pubkey, hot_privkey = load_hot_pair() +hot_seed, hot_pubkey, hot_privkey = load_hot_pair() service_wallet = WalletV3CR3( private_key=hot_privkey, public_key=hot_pubkey, diff --git a/app/core/_utils/send_status.py b/app/core/_utils/send_status.py index a7536bd..d14c816 100644 --- a/app/core/_utils/send_status.py +++ b/app/core/_utils/send_status.py @@ -1,7 +1,7 @@ from httpx import AsyncClient from app.core._config import PROJECT_HOST from app.core.logger import make_log -from app.core._secrets import hot_privkey +from app.core._secrets import hot_privkey, hot_seed from tonsdk.utils import sign_message from base58 import b58encode from json import dumps