Skip to content

Commit 5023267

Browse files
committed
Fix grandpa msg signature verification
Breaking change in paritytech/polkadot-sdk#9015.
1 parent 952f5bf commit 5023267

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • pallets/spin-polkadot/src

pallets/spin-polkadot/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ pub mod pallet {
171171
&signed.signature,
172172
justification.round,
173173
authority_set.set_id,
174-
);
174+
)
175+
.is_valid();
175176
ensure!(signature_ok, Error::<T>::BadSignature);
176177

177178
// TODO(zotho): only first seen here. do we need filtering?

0 commit comments

Comments
 (0)