Add obj to a[]

This commit is contained in:
jl777
2019-03-21 22:48:03 -11:00
parent 9ef377508f
commit 1272346fec

View File

@@ -626,6 +626,7 @@ UniValue PaymentsInfo(struct CCcontract_info *cp,char *jsonstr)
}
free(outstr);
}
a.push_back(obj);
}
flag++;
if ( numoprets > 1 )
@@ -642,6 +643,7 @@ UniValue PaymentsInfo(struct CCcontract_info *cp,char *jsonstr)
result.push_back(Pair(fundsaddr,ValueFromAmount(funds)));
GetCCaddress(cp,fundsopretaddr,Paymentspk);
fundsopret = CCaddress_balance(fundsopretaddr);
result.push_back(Pair("txidoprets",a));
result.push_back(Pair(fundsopretaddr,ValueFromAmount(fundsopret)));
result.push_back(Pair("totalfunds",ValueFromAmount(funds+fundsopret)));
result.push_back(Pair("result","success"));