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