mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-03 22:34:21 +01:00
bkpr: use BIND_NEXT.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -192,7 +192,7 @@ static struct income_event *maybe_chain_income(const tal_t *ctx,
|
||||
" WHERE "
|
||||
" e.spending_txid = ?"));
|
||||
|
||||
db_bind_txid(stmt, 0, &ev->outpoint.txid);
|
||||
db_bind_txid(stmt, BIND_NEXT, &ev->outpoint.txid);
|
||||
db_query_prepared(stmt);
|
||||
if (!db_step(stmt)) {
|
||||
tal_free(stmt);
|
||||
|
||||
Reference in New Issue
Block a user