diff --git a/Cargo.toml b/Cargo.toml index 5c8c5aa..bdb8c49 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,7 +36,7 @@ default-features = false scale = { package = "parity-scale-codec", version = "2.1", default-features = false, features = ["derive"] } scale-info = { version = "1.0", default-features = false, features = ["derive"], optional = true } -ink_prelude = { version = "3.0.0-rc6", path = "../ink/crates/prelude", default-features = false } +ink_prelude = { version = "3.0.0-rc6", default-features = false } [lib] diff --git a/src/lib.rs b/src/lib.rs index 5de4607..a086554 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,7 +19,7 @@ mod candle_auction { #[cfg_attr(feature = "std", derive(scale_info::TypeInfo))] /// Error types pub enum Error { - /// Returned if bidding whilr auction isn't in active status + /// Returned if bidding while auction isn't in active status AuctionNotActive, /// Placed bid_new isn't outbidding current winning nid_quo /// (bid_new, bid_quo) returned for info @@ -254,7 +254,7 @@ mod candle_auction { } } - // pay the looser his bidded amount back + // pay the loser his bid amount back let bal = self.balances.take(&to).unwrap(); // zero-balance check: bid 0 is possible, but nothing to pay back if bal > 0 { @@ -310,7 +310,7 @@ mod candle_auction { /// /// DESIGN DECISION: we call ERC721 set_approval_for_all() instead of approve() for /// 1. the sake of simplicity, no need to specify TokenID - /// as we need to send this token to the contract anyway, _ater_ instantiation + /// as we need to send this token to the contract anyway, _after_ instantiation /// but still _before_ auctions starts /// 2. this allows to set auction for collection of tokens instead of just for one thing ///