Skip to content

Commit

Permalink
make it flag
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Oct 28, 2024
1 parent 316fce3 commit 4f9ede4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testground/benchmark/benchmark/testnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def gen_txs(start, end, num_txs, nonce, msg_version):
@cli.command()
@click.argument("path", type=str)
@click.option("--rpc", default=TESTNET_RPC)
@click.option("--sync", default=False)
@click.option("--sync/--async", default=False)
def send_txs(path, rpc, sync):
txs = json.loads(Path(path).read_text())
asyncio.run(send(txs, rpc, sync))
Expand Down

0 comments on commit 4f9ede4

Please sign in to comment.