dev@locazia: fix seed
This commit is contained in:
parent
69c64edb64
commit
ff087453bc
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue