This commit is contained in:
jl777
2019-03-27 04:10:39 -11:00
parent 8e4a613eb0
commit 7c1c706f18

View File

@@ -28,6 +28,7 @@ UniValue games_bet(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
result.push_back(Pair("result","error"));
result.push_back(Pair("error","couldnt parsehash"));
}
fprintf(stderr,"amount %llu price %llx\n",(long long)amount,(long long)price);
mypk = pubkey2pk(Mypubkey());
gamespk = GetUnspendable(cp,0);
if ( (inputsum= AddNormalinputs(mtx,mypk,amount+GAMES_TXFEE,64)) >= amount+GAMES_TXFEE )