fix dwy_merge for only 10ksat size p2pk

This commit is contained in:
blackjok3r
2018-11-23 22:39:57 +08:00
parent 4ef4377c8b
commit aeaab7fb86

View File

@@ -4473,7 +4473,7 @@ UniValue z_mergetoaddress(const UniValue& params, bool fHelp)
if (nValue > maximum_utxo_size) {
continue;
} else {
if (out.tx->vout[out.i].scriptPubKey.size() == 35) {
if (out.tx->vout[out.i].scriptPubKey.size() == 35 && nValue == 10000) {
continue;
}
}