Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit bff1de1

Browse files
Bump strum from 0.20.0 to 0.21.0 (#195)
* Bump strum from 0.20.0 to 0.21.0 Bumps [strum](https://github.com/Peternator7/strum) from 0.20.0 to 0.21.0. - [Release notes](https://github.com/Peternator7/strum/releases) - [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md) - [Commits](https://github.com/Peternator7/strum/commits) --- updated-dependencies: - dependency-name: strum dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * use dervie feature for strum; clippy and deny housekeeping Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: adoerr <[email protected]>
1 parent 45acbe1 commit bff1de1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/beefy/src/worker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ where
184184
.clone()
185185
.ok_or_else(|| error::Crypto::CannotSign((*id).clone(), "Missing KeyStore".into()))?;
186186

187-
let sig = SyncCryptoStore::sign_with(&*key_store, KEY_TYPE, &id.to_public_crypto_pair(), &commitment)
187+
let sig = SyncCryptoStore::sign_with(&*key_store, KEY_TYPE, &id.to_public_crypto_pair(), commitment)
188188
.map_err(|e| error::Crypto::CannotSign((*id).clone(), e.to_string()))?
189189
.ok_or_else(|| error::Crypto::CannotSign((*id).clone(), "No key in KeyStore found".into()))?;
190190

primitives/beefy/tests/light_client/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ impl LightClient {
217217
let mut valid = 0;
218218
for (signature, public) in signatures.into_iter().zip(validator_set.1.iter()) {
219219
match signature {
220-
Some(signature) if signature.is_valid_for(&public) => {
220+
Some(signature) if signature.is_valid_for(public) => {
221221
valid += 1;
222222
}
223223
_ => {}

0 commit comments

Comments
 (0)