diff --git a/tutorials/bios-boot-tutorial/bios-boot-tutorial.py b/tutorials/bios-boot-tutorial/bios-boot-tutorial.py index 06cd20c0ee7468f5e1782a8a33aea3e24f77174f..f4a03603b11c7dc5db871f2e013d42a8e3f6108c 100755 --- a/tutorials/bios-boot-tutorial/bios-boot-tutorial.py +++ b/tutorials/bios-boot-tutorial/bios-boot-tutorial.py @@ -199,13 +199,6 @@ def claimRewards(): times.append(getJsonOutput(args.cleos + 'system claimrewards -j ' + row['owner'])['processed']['elapsed']) print('Elapsed time for claimrewards:', times) -def vote(b, e): - for i in range(b, e): - voter = accounts[i]['name'] - prods = random.sample(range(firstProducer, firstProducer + numProducers), args.num_producers_vote) - prods = ' '.join(map(lambda x: accounts[x]['name'], prods)) - retry(args.cleos + 'system voteproducer prods ' + voter + ' ' + prods) - def proxyVotes(b, e): vote(firstProducer, firstProducer + 1) proxy = accounts[firstProducer]['name']