corr getting 1of2 addr in 1of2 validator

This commit is contained in:
dimxy
2019-01-15 14:24:58 +05:00
parent 395fac4173
commit 96a6530044
2 changed files with 7 additions and 3 deletions

View File

@@ -419,7 +419,9 @@ public:
char shouldBeAddr[65], ccAddr[65];
GetCCaddress1of2(m_cp, shouldBeAddr, ownerPubkey, heirPubkey);
//GetCCaddress1of2(m_cp, shouldBeAddr, ownerPubkey, heirPubkey);
Helper::GetCoinsOrTokensCCaddress1of2(shouldBeAddr, ownerPubkey, heirPubkey);
if (vout.scriptPubKey.IsPayToCryptoCondition()) {
if (Getscriptaddress(ccAddr, vout.scriptPubKey) && strcmp(shouldBeAddr, ccAddr) == 0) {
//std::cerr << "CCC1of2AddressValidator::validateVout() exits with true" << std::endl;