diff options
Diffstat (limited to 'tde2e/td/e2e/Blockchain.cpp')
| -rw-r--r-- | tde2e/td/e2e/Blockchain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tde2e/td/e2e/Blockchain.cpp b/tde2e/td/e2e/Blockchain.cpp index a477beade..fc0979668 100644 --- a/tde2e/td/e2e/Blockchain.cpp +++ b/tde2e/td/e2e/Blockchain.cpp @@ -370,8 +370,8 @@ td::Status State::set_group_state(GroupStateRef group_state, const Permissions & } td::int32 needed_flags = 0; - for (const auto &[p, flags] : old_participants) { - if (!new_participants.count(p)) { + for (const auto &participant : old_participants) { + if (!new_participants.count(participant.first)) { if (!permissions.may_remove_users()) { return Error(E::InvalidBlock_NoPermissions, "Can't remove users"); } |
