Browse Source

runtime: proposals: Update discussions module comment.

Shamil Gadelshin 4 years ago
parent
commit
fd2405f19b

+ 1 - 0
runtime-modules/proposals/discussion/src/lib.rs

@@ -11,6 +11,7 @@
 //! ## Supported extrinsics
 //! - [add_post](./struct.Module.html#method.add_post) - adds a post to an existing discussion thread
 //! - [update_post](./struct.Module.html#method.update_post) - updates existing post
+//! - [change_thread_mode](./struct.Module.html#method.change_thread_mode) - changes thread permission mode
 //!
 //! ## Public API methods
 //! - [create_thread](./struct.Module.html#method.create_thread) - creates a discussion thread

+ 2 - 2
runtime-modules/proposals/engine/src/lib.rs

@@ -313,14 +313,14 @@ decl_storage! {
 
         /// Map proposal executable code by proposal id.
         pub DispatchableCallCode get(fn proposal_codes): map hasher(blake2_128_concat)
-            T::ProposalId =>  Vec<u8>;
+            T::ProposalId => Vec<u8>;
 
         /// Count of active proposals.
         pub ActiveProposalCount get(fn active_proposal_count): u32;
 
         /// Double map for preventing duplicate votes. Should be cleaned after usage.
         pub VoteExistsByProposalByVoter get(fn vote_by_proposal_by_voter):
-            double_map hasher(blake2_128_concat)  T::ProposalId, hasher(blake2_128_concat) MemberId<T> => VoteKind;
+            double_map hasher(blake2_128_concat) T::ProposalId, hasher(blake2_128_concat) MemberId<T> => VoteKind;
     }
 }