ckdb - correct param count for workinfo_add
This commit is contained in:
parent
d406fc3b5e
commit
cbb0cb9ae2
@ -2031,7 +2031,7 @@ static int64_t workinfo_add(PGconn *conn, char *workinfoidstr, char *poolinstanc
|
||||
ins = "insert into workinfo "
|
||||
"(workinfoid,transactiontree,merklehash,prevhash,"
|
||||
"coinbase1,coinbase2,version,bits,ntime,reward"
|
||||
HISTORYDATECONTROL ") values (" PQPARAM16 ")";
|
||||
HISTORYDATECONTROL ") values (" PQPARAM15 ")";
|
||||
|
||||
res = PQexecParams(conn, ins, par, NULL, (const char **)params, NULL, NULL, 0);
|
||||
rescode = PQresultStatus(res);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user