return("") for std::string

This commit is contained in:
jl777
2018-08-10 05:16:48 -11:00
parent 309ee4e3a1
commit 1ed46fb837
5 changed files with 42 additions and 42 deletions

View File

@@ -164,7 +164,7 @@ std::string LottoTicket(uint64_t txfee,int64_t numtickets)
mtx.vout.push_back(CTxOut(nValue,CScript() << ParseHex(HexStr(mypk)) << OP_CHECKSIG));
return(FinalizeCCTx(-1LL,cp,mtx,mypk,txfee,opret));
} else fprintf(stderr,"cant find Lotto inputs\n");
return(0);
return("");
}
std::string LottoWinner(uint64_t txfee)
@@ -180,7 +180,7 @@ std::string LottoWinner(uint64_t txfee)
mtx.vout.push_back(MakeCC1vout(EVAL_LOTTO,winnings,Lottopk));
return(FinalizeCCTx(0,cp,mtx,mypk,txfee,opret));
}
return(0);
return("");
}