Skip to content

Commit

Permalink
Fixed the formatted message
Browse files Browse the repository at this point in the history
  • Loading branch information
frol authored Jul 31, 2024
1 parent c1f7bad commit 0a289e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion near-contract-standards/src/non_fungible_token/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0a289e6

Please sign in to comment.