Skip to content

Commit

Permalink
comments and join imports
Browse files Browse the repository at this point in the history
  • Loading branch information
swan-of-bodom committed Aug 13, 2024
1 parent 40538f6 commit 56570aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/token/src/erc6909/erc6909.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ pub mod ERC6909Component {
use core::num::traits::Zero;
use openzeppelin_account::interface::ISRC6_ID;
use openzeppelin_token::erc6909::interface;
use starknet::{ContractAddress, get_caller_address};
use starknet::storage::Map;
use starknet::{ContractAddress, get_caller_address};

#[storage]
struct Storage {
Expand Down Expand Up @@ -273,7 +273,7 @@ pub mod ERC6909Component {
self.emit(OperatorSet { owner, spender, approved });
}

/// Updates `sender`s allowance for `spender` and `id` based on spent `amount`.
/// Updates `sender`'s allowance for `spender` and `id` based on spent `amount`.
/// Does not update the allowance value in case of infinite allowance or if spender is
/// operator.
fn _spend_allowance(
Expand Down

0 comments on commit 56570aa

Please sign in to comment.