diff --git a/e2e/geth-data/fundSecondAccount.sh b/e2e/geth-data/fundSecondAccount.sh index 4f10d48be..010853dfb 100755 --- a/e2e/geth-data/fundSecondAccount.sh +++ b/e2e/geth-data/fundSecondAccount.sh @@ -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