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