From 0a289e6cee3dc3c58b991bbde30338f04621ef8f Mon Sep 17 00:00:00 2001 From: Vlad Frolov Date: Wed, 31 Jul 2024 08:53:31 +0200 Subject: [PATCH] Fixed the formatted message --- near-contract-standards/src/non_fungible_token/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/near-contract-standards/src/non_fungible_token/utils.rs b/near-contract-standards/src/non_fungible_token/utils.rs index ecc25de5c..797ab71b5 100644 --- a/near-contract-standards/src/non_fungible_token/utils.rs +++ b/near-contract-standards/src/non_fungible_token/utils.rs @@ -33,7 +33,7 @@ pub fn refund_deposit_to_account(storage_used: u64, account_id: AccountId) { require!( required_cost <= attached_deposit, - format!("Must attach {} yoctoNEAR to cover storage", required_cost.exact_amount_display()) + format!("Must attach {} to cover storage", required_cost.exact_amount_display()) ); let refund = attached_deposit.saturating_sub(required_cost);