Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
conr2d committed Aug 13, 2024
1 parent 48e5cee commit 604bc53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion substrate/primitives/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ impl std::fmt::Display for MultiSigner {
impl Verify for MultiSignature {
type Signer = MultiSigner;
fn verify<L: Lazy<[u8]>>(&self, mut msg: L, signer: &AccountId32) -> bool {
let who: &[u8; 32] = signer.as_ref();
let who: [u8; 32] = *signer.as_ref();
match self {
Self::Ed25519(sig) => sig.verify(msg, &who.into()),
Self::Sr25519(sig) => sig.verify(msg, &who.into()),
Expand Down

0 comments on commit 604bc53

Please sign in to comment.