fix: use 'recipient' instead of 'to' in CLI to avoid Pydantic alias issues
Some checks failed
CLI Tests / test-cli (push) Failing after 8s
Security Scanning / security-scan (push) Successful in 29s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 2s

This commit is contained in:
aitbc
2026-04-28 15:58:50 +02:00
parent d8a5ed2d35
commit b0ca0cb321

View File

@@ -235,7 +235,7 @@ def send_transaction(from_wallet: str, to_address: str, amount: float, fee: floa
"type": "TRANSFER",
"chain_id": chain_id,
"from": sender_address,
"to": to_address,
"recipient": to_address,
"amount": int(amount),
"fee": int(fee),
"nonce": actual_nonce,