mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
wallet: fix wallet_update_output_status where oldstatus == output_state_any
"near \"AND\": syntax error" This was caught by the "always keep errors for db_commit_transaction". Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
21305c0d28
commit
4a06da8f78
@ -73,7 +73,7 @@ bool wallet_update_output_status(struct wallet *w,
|
||||
} else {
|
||||
db_exec(__func__, w->db,
|
||||
"UPDATE outputs SET status=%d WHERE "
|
||||
"AND prev_out_tx = '%s' AND prev_out_index = "
|
||||
"prev_out_tx = '%s' AND prev_out_index = "
|
||||
"%d;",
|
||||
newstatus, hextxid, outnum);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user