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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user