aboutsummaryrefslogtreecommitdiff
path: root/src/key.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2018-01-23 13:16:56 -0500
committerRussell Yanofsky <russ@yanofsky.org>2018-01-23 13:16:56 -0500
commit04ededf0015a05b90ce150dd0c7dddb4c028b08b (patch)
treee3786697186531b8a8d69adaf07454bb01153b6d /src/key.h
parentb5e4b9b5100ec15217d43edb5f4149439f4b20a5 (diff)
downloadbitcoin-04ededf0015a05b90ce150dd0c7dddb4c028b08b.tar.xz
Make CKey::Load references const
No change in behavior, this just prevents CKey::Load arguments from looking like outputs.
Diffstat (limited to 'src/key.h')
-rw-r--r--src/key.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/key.h b/src/key.h
index 2a6e20ef66..3c0a7574ff 100644
--- a/src/key.h
+++ b/src/key.h
@@ -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 {