Remove more cc stuff
This commit is contained in:
@@ -156,14 +156,6 @@ void CTxMemPool::addAddressIndex(const CTxMemPoolEntry &entry, const CCoinsViewC
|
||||
CTxDestination vDest;
|
||||
if (Solver(prevout.scriptPubKey, txType, vSols) || ExtractDestination(prevout.scriptPubKey, vDest))
|
||||
{
|
||||
if (vDest.which())
|
||||
{
|
||||
uint160 hashBytes;
|
||||
if (CBitcoinAddress(vDest).GetIndexKey(hashBytes, keyType, prevout.scriptPubKey.IsPayToCryptoCondition()))
|
||||
{
|
||||
vSols.push_back(vector<unsigned char>(hashBytes.begin(), hashBytes.end()));
|
||||
}
|
||||
}
|
||||
if (txType == TX_SCRIPTHASH)
|
||||
{
|
||||
keyType = 2;
|
||||
@@ -190,11 +182,6 @@ void CTxMemPool::addAddressIndex(const CTxMemPoolEntry &entry, const CCoinsViewC
|
||||
// if we failed to solve, and got a vDest, assume P2PKH or P2PK address returned
|
||||
if (vDest.which())
|
||||
{
|
||||
uint160 hashBytes;
|
||||
if (CBitcoinAddress(vDest).GetIndexKey(hashBytes, keyType, out.scriptPubKey.IsPayToCryptoCondition()))
|
||||
{
|
||||
vSols.push_back(vector<unsigned char>(hashBytes.begin(), hashBytes.end()));
|
||||
}
|
||||
}
|
||||
else if (txType == TX_SCRIPTHASH)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user