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

Commit

Permalink
Fund account script: Move position argument after flags (#641)
Browse files Browse the repository at this point in the history
* Fund account script: Move position argument after flags
  • Loading branch information
Chris Kowalski authored Jul 6, 2022
1 parent 57014a7 commit 0c5f38c
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 0c5f38c

Please sign in to comment.