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 {
232232 CBitcoinAddress (const char * pszAddress) { SetString (pszAddress); }
233233
234234 CTxDestination Get () const ;
235- bool GetKeyID (CKeyID &keyID) const ;
236- bool IsScript () const ;
237235};
238236
239237class CBitcoinAddressVisitor : public boost ::static_visitor<bool >
@@ -295,21 +293,6 @@ CTxDestination CBitcoinAddress::Get() const
295293 return CNoDestination ();
296294}
297295
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-
313296void CBitcoinSecret::SetKey (const CKey& vchSecret)
314297{
315298 assert (vchSecret.IsValid ());
You can’t perform that action at this time.
0 commit comments