mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
1031ffc3c7
Previously establishment and pending secrets were only checked at the RPC layer. However, given that these are Check-and-Set transactions we should ensure that the given secrets are still valid when persisting a secret exchange or promotion. Otherwise it would be possible for concurrent requests to overwrite each other.