File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -232,8 +232,6 @@ class CBitcoinAddress : public CBase58Data {
232
232
CBitcoinAddress (const char * pszAddress) { SetString (pszAddress); }
233
233
234
234
CTxDestination Get () const ;
235
- bool GetKeyID (CKeyID &keyID) const ;
236
- bool IsScript () const ;
237
235
};
238
236
239
237
class CBitcoinAddressVisitor : public boost ::static_visitor<bool >
@@ -295,21 +293,6 @@ CTxDestination CBitcoinAddress::Get() const
295
293
return CNoDestination ();
296
294
}
297
295
298
- bool CBitcoinAddress::GetKeyID (CKeyID& keyID) const
299
- {
300
- if (!IsValid () || vchVersion != Params ().Base58Prefix (CChainParams::PUBKEY_ADDRESS))
301
- return false ;
302
- uint160 id;
303
- memcpy (&id, vchData.data (), 20 );
304
- keyID = CKeyID (id);
305
- return true ;
306
- }
307
-
308
- bool CBitcoinAddress::IsScript () const
309
- {
310
- return IsValid () && vchVersion == Params ().Base58Prefix (CChainParams::SCRIPT_ADDRESS);
311
- }
312
-
313
296
void CBitcoinSecret::SetKey (const CKey& vchSecret)
314
297
{
315
298
assert (vchSecret.IsValid ());
You can’t perform that action at this time.
0 commit comments