pub fn id_from_index() -> child::ChildInfo {
			let mut buf = Vec::new();
			buf.extend_from_slice(b"treasury");
			//buf.extend_from_slice(&index.to_le_bytes()[..]);

			child::ChildInfo::new_default(T::Hashing::hash(&buf[..]).as_ref())
		}
/// Each fund stores information about its contributors and their contributions in a child trie
/// This helper function calculates the id of the associated child trie.
Each fund stores information about its contributors and their contributions in a child trie
This helper function calculates the id of the associated child trie.
Each fund stores information about its contributors and their contributions in a child trie This helper function calculates the id of the associated child trie .
pub fn id_from_index() -> child::ChildInfo {
			let mut buf = Vec::new();
			buf.extend_from_slice(b"treasury");
			//buf.extend_from_slice(&index.to_le_bytes()[..]);
			child::ChildInfo::new_default(T::Hashing::hash(&buf[..]).as_ref())
		}
pub fn id_from_index ( ) -> child :: ChildInfo { let mut buf = Vec :: new ( ) ; buf . extend_from_slice ( b" " ) ; //buf.extend_from_slice(&index.to_le_bytes()[..]); child :: ChildInfo :: new_default ( T :: Hashing :: hash ( & buf [ .. ] ) . as_ref ( ) ) }
Each fund stores information about its contributors and their contributions in a child trie
This helper function calculates the id of the associated child trie.
Each fund stores information about its contributors and their contributions in a child trie This helper function calculates the id of the associated child trie .