add exeption for iguana utxo

This commit is contained in:
blackjok3r
2018-10-01 23:25:24 +08:00
parent 743131799f
commit cd6fbe0977

View File

@@ -4362,7 +4362,11 @@ UniValue z_mergetoaddress(const UniValue& params, bool fHelp)
printf("nValue = %ld which is over maximum size so we will ignore it!\n", nValue);
continue;
} else {
printf("utxo found under maximum size so we will add it!\n");
if (out.tx->vout[out.i].scriptPubKey.size() != 35) {
printf("utxo is an iguana utxo so we will ingore it!\n");
continue;
}
printf("utxo found under maximum size that is not p2pk so we will add it!\n");
}
}