Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniRamirezM committed Jun 30, 2023
1 parent 7980151 commit 224a11e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/scripts/send_transfers/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"fmt"
"math/big"
"time"

"github.com/0xPolygonHermez/zkevm-node/hex"
"github.com/0xPolygonHermez/zkevm-node/log"
Expand All @@ -24,7 +23,7 @@ func main() {
PrivateKey string
}{
//{Name: "Local L1", URL: operations.DefaultL1NetworkURL, ChainID: operations.DefaultL1ChainID, PrivateKey: operations.DefaultSequencerPrivateKey},
{Name: "Local L2", URL: "http://34.77.127.3:8080", ChainID: 1234, PrivateKey: operations.DefaultSequencerPrivateKey},
{Name: "Local L2", URL: operations.DefaultL2NetworkURL, ChainID: operations.DefaultL2ChainID, PrivateKey: operations.DefaultSequencerPrivateKey},
}

for _, network := range networks {
Expand Down Expand Up @@ -61,7 +60,6 @@ func main() {
tx := ethTransfer(ctx, client, auth, to, transferAmount, &nonce)
fmt.Println("tx sent: ", tx.Hash().String())
// lastTxHash = tx.Hash()
time.Sleep(4 * time.Second)
}

// err = operations.WaitTxToBeMined(client, lastTxHash, txTimeout)
Expand Down

0 comments on commit 224a11e

Please sign in to comment.