@@ -1684,7 +1684,7 @@ static struct command_result *refresh_invoices_full(struct command *cmd,
16841684 plugin_log (cmd -> plugin , LOG_INFORM ,"Full reload of invoices: wait API event indicates possible deletion/change" );
16851685
16861686 err = sqlite3_exec (sql -> db , tal_fmt (tmpctx , "DELETE FROM %s;" , td -> name ),NULL , NULL , & errmsg );
1687- if (err != SQLITE_OK )
1687+ if (err != SQLITE_OK )
16881688 {
16891689 return command_fail (cmd , LIGHTNINGD , "cleaning '%s' failed: %s" , td -> name , errmsg );
16901690 }
@@ -1709,7 +1709,7 @@ static struct command_result *refresh_forwards_full(struct command *cmd,
17091709 plugin_log (cmd -> plugin , LOG_INFORM ,"Full reload of forwards: wait API event indicates possible deletion/change" );
17101710
17111711 err = sqlite3_exec (sql -> db , tal_fmt (tmpctx , "DELETE FROM %s;" , td -> name ), NULL , NULL , & errmsg );
1712- if (err != SQLITE_OK )
1712+ if (err != SQLITE_OK )
17131713 {
17141714 return command_fail (cmd , LIGHTNINGD , "cleaning '%s' failed: %s" ,td -> name , errmsg );
17151715 }
@@ -1734,7 +1734,7 @@ static struct command_result *refresh_htlcs_full(struct command *cmd,
17341734 plugin_log (cmd -> plugin , LOG_INFORM , "Full reload of htlcs: wait API event indicates possible deletion/change" );
17351735
17361736 err = sqlite3_exec (sql -> db , tal_fmt (tmpctx , "DELETE FROM %s;" , td -> name ), NULL , NULL , & errmsg );
1737- if (err != SQLITE_OK )
1737+ if (err != SQLITE_OK )
17381738 {
17391739 return command_fail (cmd , LIGHTNINGD , "cleaning '%s' failed: %s" , td -> name , errmsg );
17401740 }
@@ -1757,9 +1757,9 @@ static struct command_result *refresh_sendpays_full(struct command *cmd,
17571757 char * errmsg ;
17581758
17591759 plugin_log (cmd -> plugin , LOG_INFORM , "Full reload of sendpays: wait API event indicates possible deletion/change" );
1760-
1760+
17611761 err = sqlite3_exec (sql -> db , tal_fmt (tmpctx , "DELETE FROM %s;" , td -> name ),NULL , NULL , & errmsg );
1762- if (err != SQLITE_OK )
1762+ if (err != SQLITE_OK )
17631763 {
17641764 return command_fail (cmd , LIGHTNINGD , "cleaning '%s' failed: %s" ,td -> name , errmsg );
17651765 }
0 commit comments