fix: add genesis wallet password to funding transaction

Added genesis wallet password to the funding transaction in the training script.
The genesis wallet requires a password to sign transactions, so we now provide
'genesis' as the password when sending from genesis to training wallet.
This commit is contained in:
aitbc
2026-05-04 11:28:04 +02:00
parent 3d3acf19e5
commit 98b4f1ebad

View File

@@ -161,7 +161,7 @@ basic_transaction_operations() {
if [[ -n "$genesis_address" && "${genesis_balance:-0}" -gt 0 ]]; then
print_status "Sending 100 AIT from genesis wallet to training wallet..."
if cli_cmd "wallet send genesis $wallet_address 100"; then
if cli_cmd "wallet send genesis $wallet_address 100 genesis"; then
print_success "Funding transaction sent successfully"
sleep 2 # Wait for transaction to be processed