Browse Source

wallet/wallet.c: bind_null if (payment_key)

ppa-0.6.1
Jan Sarenik 7 years ago
committed by Rusty Russell
parent
commit
cb53ad0706
  1. 2
      wallet/wallet.c

2
wallet/wallet.c

@ -1206,6 +1206,8 @@ void wallet_htlc_update(struct wallet *wallet, const u64 htlc_dbid,
if (payment_key)
sqlite3_bind_preimage(stmt, 2, payment_key);
else
sqlite3_bind_null(stmt, 2);
db_exec_prepared(wallet->db, stmt);
}

Loading…
Cancel
Save