Various minor fixes (#2860)

* Make sr-api-macros benchmark work again

It broke with 4f888f34d3.

* Give better indication of import progress

* Only send consensus info when explicitly enabled

This is only necessary for validators and they can
explicitly enable it via

	--telemetry-url 'wss://telemetry.polkadot.io 1'

(or some other endpoint)

* Remove unnecessary mutable

* Fix style
This commit is contained in:
Michael Müller
2019-06-13 18:23:04 +02:00
committed by Gavin Wood
parent 12bbc2ffd9
commit 5c3d1f82cd
4 changed files with 16 additions and 6 deletions
@@ -83,7 +83,7 @@ where
let seed = factory_state.start_number() + factory_state.block_no();
let to = RA::gen_random_account_id(&seed);
let mut amount;
let amount;
if factory_state.round() == RA::Number::zero() {
amount = RA::minimum_balance() * factory_state.rounds();
} else {