Skip to content

Commit

Permalink
Modified change_authorities
Browse files Browse the repository at this point in the history
  • Loading branch information
zktony committed Jul 20, 2023
1 parent 6cf6ff6 commit 7471af7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pallets/thea/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,10 @@ impl<T: Config> Pallet<T> {
<OutgoingNonce<T>>::insert(message.network, message.nonce);
<OutgoingMessages<T>>::insert(message.network, message.nonce, message);
}
<Authorities<T>>::insert(new_id, incoming);
<ValidatorSetId<T>>::put(new_id);
<NextAuthorities<T>>::put(queued);
}

<Authorities<T>>::insert(new_id, incoming);
<ValidatorSetId<T>>::put(new_id);
<NextAuthorities<T>>::put(queued);
}

fn initialize_authorities(authorities: &[T::TheaId]) -> Result<(), ()> {
Expand Down

0 comments on commit 7471af7

Please sign in to comment.