Skip to content

Commit

Permalink
bump crc dependency to 3.2.1 (#396)
Browse files Browse the repository at this point in the history
* bump crc dep

* fix clippy warning after toolchain upgrade
  • Loading branch information
clangenb authored Jun 13, 2024
1 parent 71d23eb commit 3a9793d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 26 deletions.
25 changes: 5 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pallet-encointer-communities-rpc-runtime-api = { path = "communities/rpc/runtime
# various
array-bytes = "6.1.0"
bs58 = { version = "0.5.0", default-features = false, features = ["alloc"] }
crc = "2.1.0"
crc = "3.2.1"
fixed = { package = "substrate-fixed", default-features = false, version = "0.5.9" }
geohash = { package = "substrate-geohash", version = "0.13.0" }
impl-serde = { version = "0.4.0", default-features = false }
Expand Down
8 changes: 3 additions & 5 deletions ceremonies/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1841,13 +1841,11 @@ impl<T: Config> Pallet<T> {

// gather votes and attestations
for participant in meetup_participants.iter() {
let attestations = match Self::attestation_registry(
let attestations = Self::attestation_registry(
(&cid, cindex),
Self::attestation_index((cid, cindex), participant),
) {
Some(attestees) => attestees,
None => Default::default(),
};
)
.unwrap_or_default();
// convert AccountId to local index
let attestation_indices = attestations
.into_iter()
Expand Down

0 comments on commit 3a9793d

Please sign in to comment.