mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 04:01:02 +00:00
Add integrity check for signed extensions (#1780)
* Add integrity check for signed extensions * Remove unneeded type specification
This commit is contained in:
committed by
Bastian Köcher
parent
4cdb85247e
commit
2ff3a7aa38
@@ -266,7 +266,7 @@ impl PolkadotSignedExtension for DefaultSignedExtension {
|
||||
(), // Check weight
|
||||
tip.into(), // transaction payment / tip (compact encoding)
|
||||
),
|
||||
(
|
||||
Some((
|
||||
(),
|
||||
spec_version,
|
||||
transaction_version,
|
||||
@@ -275,7 +275,7 @@ impl PolkadotSignedExtension for DefaultSignedExtension {
|
||||
(),
|
||||
(),
|
||||
(),
|
||||
),
|
||||
)),
|
||||
)
|
||||
}
|
||||
|
||||
@@ -326,7 +326,7 @@ impl PolkadotSignedExtension for BridgeSignedExtension {
|
||||
tip.into(), // transaction payment / tip (compact encoding)
|
||||
(), // bridge reject obsolete headers and msgs
|
||||
),
|
||||
(
|
||||
Some((
|
||||
(),
|
||||
spec_version,
|
||||
transaction_version,
|
||||
@@ -336,7 +336,7 @@ impl PolkadotSignedExtension for BridgeSignedExtension {
|
||||
(),
|
||||
(),
|
||||
(),
|
||||
),
|
||||
)),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user