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

Commit

Permalink
🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed May 16, 2022
1 parent cc2cd13 commit 39c2e79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frame/support/src/storage/bounded_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ where
}

let visitor: VecVisitor<T, S> = VecVisitor(PhantomData);
deserializer.deserialize_seq(visitor).map(|v| {
BoundedVec::<T, S>::try_from(v).map_err(|_| Err(Error::custom("out of bounds")))
})?
deserializer
.deserialize_seq(visitor)
.map(|v| BoundedVec::<T, S>::try_from(v).map_err(|_| Error::custom("out of bounds")))?
}
}

Expand Down

0 comments on commit 39c2e79

Please sign in to comment.