Skip to content

Commit

Permalink
scrab format
Browse files Browse the repository at this point in the history
  • Loading branch information
mubarak23 committed Apr 18, 2024
1 parent 77e5c00 commit ee63bd4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions onchain/src/quests/template_quest.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub mod TemplateQuest {
use art_peace::{IArtPeaceDispatcher, IArtPeaceDispatcherTrait};
use art_peace::quests::{IQuest, QuestClaimed};

#[storage]
#[storage]
struct Storage {
art_peace: IArtPeaceDispatcher,
reward: u32,
Expand All @@ -31,8 +31,10 @@ pub mod TemplateQuest {
if self.claimed.read(user) {
return false;
}

let template_store = ITemplateStoreDispatcher { contract_address: art_peace.contract_address };

let template_store = ITemplateStoreDispatcher {
contract_address: art_peace.contract_address
};

let template_id = calldata[0];

Expand Down

0 comments on commit ee63bd4

Please sign in to comment.