mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-17 06:57:17 -05:00
Ensure wallets store encrypted private keys
This commit is contained in:
@@ -91,7 +91,7 @@ async def register(user_data: UserCreate, db: AsyncSession = Depends(get_db)):
|
||||
wallet = Wallet(
|
||||
user_id=user.id,
|
||||
address=wallet_address,
|
||||
private_key=private_key,
|
||||
private_key=encrypted_private_key,
|
||||
public_key=public_key,
|
||||
balance=user.balance,
|
||||
label="Primary Wallet",
|
||||
|
||||
Reference in New Issue
Block a user