diff --git a/src/cc/gateways.cpp b/src/cc/gateways.cpp index 2ff633a99..7dc4234b8 100644 --- a/src/cc/gateways.cpp +++ b/src/cc/gateways.cpp @@ -924,8 +924,7 @@ UniValue GatewaysMultisig(char *txidaddr) std::string parthex,hex,refcoin; uint256 txid,hashBlock; CTransaction tx; int32_t i,maxK,K,numvouts; CPubKey signerpk; std::vector > unspentOutputs; UniValue result(UniValue::VOBJ); - SetCCunspents(unspentOutputs,txidaddr); - if (unspentOutputs.size()==0) return (""); + SetCCunspents(unspentOutputs,txidaddr); maxK=0; for (std::vector >::const_iterator it=unspentOutputs.begin(); it!=unspentOutputs.end(); it++) {