This commit is contained in:
jl777
2019-02-25 06:46:28 -11:00
parent 6751dc52fc
commit a762316ef1

View File

@@ -3339,7 +3339,7 @@ UniValue dilithium_Qsend(uint64_t txfee,struct CCcontract_info *cp,cJSON *params
} }
if ( (inputsum= dilithium_inputs(cp,mtx,mypk,outputsum+txfee,64,myCCaddr)) >= outputsum+txfee ) if ( (inputsum= dilithium_inputs(cp,mtx,mypk,outputsum+txfee,64,myCCaddr)) >= outputsum+txfee )
{ {
change = (inputsum - outputsum - txfee) change = (inputsum - outputsum - txfee);
if ( change >= txfee ) if ( change >= txfee )
{ {
mtx.vout.push_back(MakeCC1vout(cp->evalcode,change,mypk)); mtx.vout.push_back(MakeCC1vout(cp->evalcode,change,mypk));