Skip to content

Commit 1c6a63a

Browse files
committed
fully flesh out tps/tpb conflicts for contender
1 parent c7c404c commit 1c6a63a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

playground/components.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,8 @@ func (c *Contender) Run(service *Service, ctx *ExContext) {
906906
if flag == "-r" && seen["--rpc-url"] {
907907
return true
908908
}
909-
if (flag == "--tpb" || flag == "--tps") && (seen["--tpb"] || seen["--tps"]) {
909+
if (flag == "--tpb" || flag == "--txs-per-second" || flag == "--tps" || flag == "--txs-per-block") &&
910+
(seen["--tpb"] || seen["--tps"] || seen["--txs-per-second"] || seen["--txs-per-block"]) {
910911
return true
911912
}
912913
return false

0 commit comments

Comments
 (0)