Skip to content

Commit

Permalink
refactor: require Sync for source of InvalidFaucetAccountId (#1000)
Browse files Browse the repository at this point in the history
* refactor: require `Sync` for source of `InvalidFaucetAccountId`

* refactor: add `'static` requirement
  • Loading branch information
polydez authored Dec 2, 2024
1 parent f7421e6 commit bc91c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ pub enum AssetError {
other_issuer: AccountId,
},
#[error("faucet account id in asset is invalid")]
InvalidFaucetAccountId(#[source] Box<dyn Error + Send>),
InvalidFaucetAccountId(#[source] Box<dyn Error + Send + Sync + 'static>),
#[error(
"faucet id {0} of type {id_type:?} must be of type {expected_ty:?} for fungible assets",
id_type = .0.account_type(),
Expand Down

0 comments on commit bc91c60

Please sign in to comment.