mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 00:41:08 +00:00
metadata: Exclude field::type_name from metadata validation (#595)
* metadata: Exclude `field::type_name` from metadata validation Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Adjust code-base to rust `1.62.0` Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
@@ -72,9 +72,6 @@ fn get_field_hash(
|
||||
if let Some(name) = field.name() {
|
||||
bytes = xor(bytes, hash(name.as_bytes()));
|
||||
}
|
||||
if let Some(name) = field.type_name() {
|
||||
bytes = xor(bytes, hash(name.as_bytes()));
|
||||
}
|
||||
|
||||
bytes
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user