Skip to content

Commit

Permalink
Update pallets/treasury/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
  • Loading branch information
Neopallium and Centril authored Apr 19, 2022
1 parent 56618a8 commit 3b49bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/treasury/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ impl<T: Config> Module<T> {
.iter()
.map(|b| -> Result<_, DispatchError> {
total_amount = total_amount.saturating_add(b.amount);
// Ensure the identity exists and get it's primary key.
// Ensure the identity exists and get its primary key.
let primary_key =
Identity::<T>::get_primary_key(b.id).ok_or(Error::<T>::InvalidIdentity)?;
Ok((primary_key, b.id, b.amount))
Expand Down

0 comments on commit 3b49bbc

Please sign in to comment.