We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0a0a3a commit 9b7e19cCopy full SHA for 9b7e19c
primitives/runtime/src/multi/signature.rs
@@ -124,11 +124,19 @@ impl VerifyMut for MultiSignature {
124
match self {
125
Self::Ed25519(sig) => {
126
let who = who.into();
127
- sig.verify(msg, &who).then(|| signer.check(who)).unwrap_or(false)
+ if sig.verify(msg, &who) {
128
+ signer.check(who)
129
+ } else {
130
+ false
131
+ }
132
},
133
Self::Sr25519(sig) => {
134
135
136
137
138
139
140
141
Self::Ecdsa(sig) => {
142
let m = sp_io::hashing::blake2_256(msg.get());
0 commit comments