Skip to content

Commit

Permalink
fmt + claen up
Browse files Browse the repository at this point in the history
  • Loading branch information
manlikeHB committed Nov 30, 2024
1 parent 30e2381 commit 413c462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/campaign.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,9 @@ mod TokengiverCampaign {
) -> ContractAddress {
let caller = get_caller_address();
let nft_address = self.token_giver_nft_address.read();

/// mint token giver NFT
let token_giver_nft = ITokenGiverNftDispatcher { contract_address: nft_address };

/// mint token giver NFT
let token_id = token_giver_nft.mint_token_giver_nft(caller);

/// create TBA account
Expand All @@ -124,6 +123,7 @@ mod TokengiverCampaign {
}
.create_account(implementation_hash, nft_address, token_id, salt);

/// create campaign
let new_campaign = Campaign {
campaign_address, campaign_owner: caller, metadata_URI: "", token_id,
};
Expand Down

0 comments on commit 413c462

Please sign in to comment.