Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ci/record_rep_weights.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import requests
import argparse
from binascii import unhexlify
from base64 import b32decode
from binascii import hexlify, unhexlify

Expand All @@ -11,7 +10,7 @@
parser.add_argument("--rpc", help="node rpc host:port",
default="http://[::1]:7076")
parser.add_argument(
"--limit", help="percentage of the active supply represented", default=0.99)
"--limit", help="percentage of the active supply represented", default=0.99, type=float)
parser.add_argument(
"--cutoff", help="stop using bootstrap reps this many blocks before the current block height", default=250000, type=int)
args = parser.parse_args()
Expand Down