Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Hartnell committed May 14, 2023
1 parent 8dc7d7f commit 72c59c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/cw721-piggy-bank/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ pub enum ContractError {
/// This inherits from cw721-base::ContractError to handle the base contract errors
#[error("NFT contract error: {0}")]
Cw721Error(#[from] cw721_base::ContractError),
}
}
4 changes: 2 additions & 2 deletions contracts/cw721-piggy-bank/src/state.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use cosmwasm_std::Uint128;
use cw_storage_plus::{Map, Item};
use cw_storage_plus::{Item, Map};

/// Map for storing NFT balances (token_id, amount)
pub const BALANCES: Map<&str, Uint128> = Map::new("nft_balances");

pub const DENOM: Item<String> = Item::new("denoms");
pub const DENOM: Item<String> = Item::new("denoms");

0 comments on commit 72c59c0

Please sign in to comment.