Fix light connection issues (#2499)

* ignore light nodes in ConsensusGossip

* fixed method name

* temporary disabled penalty when block is announced

* remove traces of BLOCK_ANNOUNCE_REPUTATION_CHANGE
This commit is contained in:
Svyatoslav Nikolsky authored and Gavin Wood committed 2019-05-08 12:24:20 +02:00
1 parent d380db706b
commit a63635b952
3 files changed
+6 -6

No files matched your search

@@ -148,7 +148,7 @@ where
}
fn runtime_version(&self, id: &BlockId<Block>) -> ClientResult<RuntimeVersion> {
let call_result = self.call(id, "version", &[], ExecutionStrategy::NativeElseWasm, NeverOffchainExt::new())?;
let call_result = self.call(id, "Core_version", &[], ExecutionStrategy::NativeElseWasm, NeverOffchainExt::new())?;
RuntimeVersion::decode(&mut call_result.as_slice())
.ok_or_else(|| ClientError::VersionInvalid.into())
}