From bc91c604862e2c6013b21eb989a3640d30cce25b Mon Sep 17 00:00:00 2001 From: polydez <155382956+polydez@users.noreply.github.com> Date: Mon, 2 Dec 2024 19:57:41 +0500 Subject: [PATCH] refactor: require `Sync` for source of `InvalidFaucetAccountId` (#1000) * refactor: require `Sync` for source of `InvalidFaucetAccountId` * refactor: add `'static` requirement --- objects/src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/src/errors.rs b/objects/src/errors.rs index 264ef0f13..f94a78f51 100644 --- a/objects/src/errors.rs +++ b/objects/src/errors.rs @@ -145,7 +145,7 @@ pub enum AssetError { other_issuer: AccountId, }, #[error("faucet account id in asset is invalid")] - InvalidFaucetAccountId(#[source] Box), + InvalidFaucetAccountId(#[source] Box), #[error( "faucet id {0} of type {id_type:?} must be of type {expected_ty:?} for fungible assets", id_type = .0.account_type(),