aboutsummaryrefslogtreecommitdiff
path: root/src/base58.h
diff options
context:
space:
mode:
authorRoss Nicoll <jrn@jrn.me.uk>2014-08-02 19:54:57 +0100
committerRoss Nicoll <jrn@jrn.me.uk>2014-08-30 09:39:59 +0100
commite84843c0dbb9cb853b912c09858b01c5c9302b09 (patch)
treeda59bc29ef10f63bc53ccba2e392c4979f37d353 /src/base58.h
parent9d26dc3b2973252cc4dbe0f46edb56bfcea1cb78 (diff)
Broken addresses on command line no longer trigger testnet.
When passing a bitcoin: URI on the command line, invalid addresses do not incorrectly send the user to the test network.
Diffstat (limited to 'src/base58.h')
-rw-r--r--src/base58.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base58.h b/src/base58.h
index 70681f589a..0f11f7c6d3 100644
--- a/src/base58.h
+++ b/src/base58.h
@@ -104,6 +104,7 @@ public:
bool Set(const CScriptID &id);
bool Set(const CTxDestination &dest);
bool IsValid() const;
+ bool IsValid(const CChainParams &params) const;
CBitcoinAddress() {}
CBitcoinAddress(const CTxDestination &dest) { Set(dest); }