Kagome
Polkadot Runtime Engine in C++17
sr25519_types.cpp
Go to the documentation of this file.
1 
7 
8 namespace kagome::crypto {
9  bool Sr25519Keypair::operator==(const Sr25519Keypair &other) const {
10  return secret_key == other.secret_key && public_key == other.public_key;
11  }
12 
13  bool Sr25519Keypair::operator!=(const Sr25519Keypair &other) const {
14  return !(*this == other);
15  }
16 } // namespace kagome::crypto
bool operator==(const Sr25519Keypair &other) const
bool operator!=(const Sr25519Keypair &other) const