Make CKey::Load references const

No change in behavior, this just prevents CKey::Load arguments from looking
like outputs.
This commit is contained in:
Russell Yanofsky
2018-01-23 13:16:56 -05:00
parent b5e4b9b510
commit 04ededf001
2 changed files with 2 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ public:
bool VerifyPubKey(const CPubKey& vchPubKey) const;
//! Load private key and check that public key matches.
bool Load(CPrivKey& privkey, CPubKey& vchPubKey, bool fSkipCheck);
bool Load(const CPrivKey& privkey, const CPubKey& vchPubKey, bool fSkipCheck);
};
struct CExtKey {