mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-04 09:51:07 +00:00
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:
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())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user