Skip to content

Commit

Permalink
Merge pull request #2 from OxMMty/dev
Browse files Browse the repository at this point in the history
change  global_state
  • Loading branch information
oxmmty authored Sep 17, 2024
2 parents d09811f + da519b7 commit 4661174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct GameState {
pub end_time: u64,
}

pub const GLOBAL_STATE: Item<GlobalState> = Item::new("global_state");
// pub const GLOBAL_STATE: Item<GlobalState> = Item::new("global_state");
pub const GAME_STATE: Map<u64, GameState> = Map::new("game_state");
pub const TICKET_STATUS: Map<(u64, u64), Addr> = Map::new("ticket_status");
// pub const WALLET_TICKETS: Map<(u64, Addr), Vec<u64>> = Map::new("wallet_tickets");

0 comments on commit 4661174

Please sign in to comment.