remove unused function GetKeyID_NoCheck
This commit is contained in:
@@ -323,14 +323,6 @@ bool CBitcoinAddress::GetKeyID(CKeyID& keyID) const
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CBitcoinAddress::GetKeyID_NoCheck(CKeyID& keyID) const
|
|
||||||
{
|
|
||||||
uint160 id;
|
|
||||||
memcpy(&id, &vchData[0], 20);
|
|
||||||
keyID = CKeyID(id);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool CBitcoinAddress::IsScript() const
|
bool CBitcoinAddress::IsScript() const
|
||||||
{
|
{
|
||||||
return IsValid() && vchVersion == Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS);
|
return IsValid() && vchVersion == Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS);
|
||||||
|
|||||||
@@ -146,7 +146,6 @@ public:
|
|||||||
|
|
||||||
CTxDestination Get() const;
|
CTxDestination Get() const;
|
||||||
bool GetKeyID(CKeyID &keyID) const;
|
bool GetKeyID(CKeyID &keyID) const;
|
||||||
bool GetKeyID_NoCheck(CKeyID& keyID) const;
|
|
||||||
bool GetIndexKey(uint160& hashBytes, int& type, bool ccflag) const;
|
bool GetIndexKey(uint160& hashBytes, int& type, bool ccflag) const;
|
||||||
bool IsScript() const;
|
bool IsScript() const;
|
||||||
};
|
};
|
||||||
@@ -171,7 +170,6 @@ public:
|
|||||||
|
|
||||||
CTxDestination Get() const;
|
CTxDestination Get() const;
|
||||||
bool GetKeyID(CKeyID &keyID) const;
|
bool GetKeyID(CKeyID &keyID) const;
|
||||||
bool GetKeyID_NoCheck(CKeyID& keyID) const;
|
|
||||||
bool GetIndexKey(uint160& hashBytes, int& type, bool ccflag) const;
|
bool GetIndexKey(uint160& hashBytes, int& type, bool ccflag) const;
|
||||||
bool IsScript() const;
|
bool IsScript() const;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user