mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 20:31:13 +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:
committed by
Gavin Wood
parent
d380db706b
commit
a63635b952
@@ -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