From 78d95b51aab0b34584e6a5144196893ee5b15034 Mon Sep 17 00:00:00 2001 From: niftynei Date: Thu, 21 May 2020 16:43:27 -0500 Subject: [PATCH] nit: align spacing for SQL stmts --- wallet/wallet.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/wallet/wallet.c b/wallet/wallet.c index 620c9ec32..7842f92fa 100644 --- a/wallet/wallet.c +++ b/wallet/wallet.c @@ -2355,19 +2355,19 @@ void wallet_payment_store(struct wallet *wallet, stmt = db_prepare_v2( wallet->db, SQL("INSERT INTO payments (" - " status," - " payment_hash," - " destination," - " msatoshi," - " timestamp," - " path_secrets," - " route_nodes," - " route_channels," - " msatoshi_sent," - " description," - " bolt11," - " total_msat," - " partid" + " status," + " payment_hash," + " destination," + " msatoshi," + " timestamp," + " path_secrets," + " route_nodes," + " route_channels," + " msatoshi_sent," + " description," + " bolt11," + " total_msat," + " partid" ") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);")); db_bind_int(stmt, 0, payment->status); @@ -3153,9 +3153,9 @@ void wallet_transaction_add(struct wallet *w, const struct bitcoin_tx *tx, /* This transaction is still unknown, insert */ stmt = db_prepare_v2(w->db, SQL("INSERT INTO transactions (" - " id" - ", blockheight" - ", txindex" + " id" + ", blockheight" + ", txindex" ", rawtx) VALUES (?, ?, ?, ?);")); db_bind_txid(stmt, 0, &txid); if (blockheight) {