This commit is contained in:
jl777
2019-01-29 01:59:32 -11:00
parent 1a7fbca0da
commit 9de5df85e8
2 changed files with 2 additions and 2 deletions

View File

@@ -530,7 +530,7 @@ UniValue sudoku_generate(uint64_t txfee,struct CCcontract_info *cp,cJSON *params
if ( change > txfee )
mtx.vout.push_back(MakeCC1vout(cp->evalcode,change,sudokupk));
CCaddr2set(cp,cp->evalcode,sudokupk,cp->CCpriv,cp->unspendableCCaddr);
rawtx = FinalizeCCTx(0,cp,mtx,sudokupk,txfee,sudoku_genopret(unsolved));
rawtx = FinalizeCCTx(0,cp,mtx,pubkey2pk(Mypubkey()),txfee,sudoku_genopret(unsolved));
result.push_back(Pair("hex",rawtx));
} else result.push_back(Pair("error","not enough SUDOKU funds"));
return(result);