File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,6 @@ fn cord_braid_custom_config_genesis(config: ChainParams) -> serde_json::Value {
162162 )
163163}
164164
165- /* TODO: Refer from weave to update below */
166165fn cord_loom_custom_config_genesis ( config : ChainParams ) -> serde_json:: Value {
167166 let initial_authorities: Vec < (
168167 AccountId ,
@@ -188,7 +187,8 @@ fn cord_loom_custom_config_genesis(config: ChainParams) -> serde_json::Value {
188187 } )
189188 . collect ( ) ;
190189
191- let initial_sudo_key: AccountId = array_bytes:: hex_n_into_unchecked ( & config. sudo_key ) ;
190+ let initial_sudo_key: AccountId = array_bytes:: hex_n_into_unchecked ( & config. authorities [ 0 ] [ 0 ] ) ;
191+
192192 cord_loom_custom_genesis ( initial_authorities, initial_sudo_key)
193193}
194194
You can’t perform that action at this time.
0 commit comments