This commit is contained in:
Mihailo Milenkovic
2018-10-30 17:39:25 +01:00
parent 49479d233b
commit cb1661f936

View File

@@ -925,7 +925,6 @@ UniValue GatewaysMultisig(char *txidaddr)
std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > unspentOutputs; UniValue result(UniValue::VOBJ); std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > unspentOutputs; UniValue result(UniValue::VOBJ);
SetCCunspents(unspentOutputs,txidaddr); SetCCunspents(unspentOutputs,txidaddr);
if (unspentOutputs.size()==0) return ("");
maxK=0; maxK=0;
for (std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> >::const_iterator it=unspentOutputs.begin(); it!=unspentOutputs.end(); it++) for (std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> >::const_iterator it=unspentOutputs.begin(); it!=unspentOutputs.end(); it++)
{ {