diff --git a/ci/record_rep_weights.py b/ci/record_rep_weights.py index 2a44ed99..cc7ea49c 100644 --- a/ci/record_rep_weights.py +++ b/ci/record_rep_weights.py @@ -30,7 +30,7 @@ for acc in p["representatives"]: r = requests.post(args.rpc, data='{"action":"block_count"}') p = r.json() -block_height = max(0, int(p["count"]) - args.cutoff) +block_height = max(0, int(p["cemented"]) - args.cutoff) print("cutoff block height is %d" % block_height) diff --git a/rep_weights_live.bin b/rep_weights_live.bin index 8bcb7d18..5ee1bb42 100644 Binary files a/rep_weights_live.bin and b/rep_weights_live.bin differ