git.delta.rocks / unique-network / refs/commits / beeb27d0b818

difftreelog

Docker file + minor fix

str-mv2020-05-07parent: #c2eefad.patch.diff
in: master

2 files changed

addedDockerfilediffbeforeafterboth
after · Dockerfile
1FROM rust:latest23EXPOSE 994445# Install build tools6RUN apt-get update && apt-get -y install -y cmake pkg-config libssl-dev git gcc build-essential clang libclang-dev curl7RUN curl https://getsubstrate.io -sSf | bash -s -- --fast8RUN rustup update nightly9RUN rustup target add wasm32-unknown-unknown --toolchain nightly10RUN rustup update1112# Get project and run it13RUN git clone https://github.com/usetech-llc/nft_parachain14RUN cd nft_parachain && cargo build15RUN cd nft_parachain && cargo test --all16RUN cd nft_parachain && cargo run -- --dev
modifiedpallets/nft/src/lib.rsdiffbeforeafterboth
--- a/pallets/nft/src/lib.rs
+++ b/pallets/nft/src/lib.rs
@@ -115,7 +115,7 @@
 			// Generate next collection ID
 			let next_id = NextCollectionID::get()
 				.checked_add(1)
-				.expect("collection id error");;
+				.expect("collection id error");
 
 			NextCollectionID::put(next_id);