mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Make CKey::Load references const
No change in behavior, this just prevents CKey::Load arguments from looking like outputs.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user