Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Fund account script: Move position argument after flags #641

Merged
merged 2 commits into from
Jul 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/geth-data/fundSecondAccount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fi
i=1
while [ "$i" -le 120 ]; do
echo "Trying to fund second account (attempt #$i)... "
response=$($docker geth attach http://localhost:8545 --exec "eth.sendTransaction({from: eth.accounts[0], to: eth.accounts[1], value: 10e36})")
response=$($docker geth attach --exec "eth.sendTransaction({from: eth.accounts[0], to: eth.accounts[1], value: 10e36})" http://localhost:8545)
res=$(echo "$response" | cut -c1-3)
if [ "$res" = "\"0x" ]; then
break
Expand Down