rgb-cln/wallet
Vincenzo Palazzo 0ed7c0d083 Suggested code cleanup by TODO comment
This commit introduces the code cleanup suggested by the TODO comment in the code.

Basically, it moves the code from the if-else statement to a switch statement without the default case. I used the basic idea of the code used in PR #4507.

Changelog-Changed: None.

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2021-05-31 11:52:07 +09:30
..
test Refuse to parse v2 onion addresses without deprecated_apis 2021-05-24 20:22:45 +09:30
.gitignore reorganize .gitignore entries across subdirs. 2021-05-18 09:43:50 +09:30
Makefile Makefile: allow postfixes to SHA256STAMP. 2021-05-27 20:28:49 +09:30
db.c inflights: save the whole psbt to the database 2021-05-24 12:17:48 +09:30
db.h db: add helper for db_col_psbt 2020-10-20 12:50:31 +10:30
db_common.h allow building without sqlite3 2020-08-30 12:44:56 +02:00
db_postgres.c Makefile: make check-includes check all the non-generated files. 2020-10-22 12:14:34 +10:30
db_postgres_sqlgen.c Suggested code cleanup by TODO comment 2021-05-31 11:52:07 +09:30
db_sqlite3.c Makefile: make check-includes check all the non-generated files. 2020-10-22 12:14:34 +10:30
db_sqlite3_sqlgen.c Suggested code cleanup by TODO comment 2021-05-31 11:52:07 +09:30
invoices.c invoice: handle bolt12 strings if EXPERIMENTAL_FEATURES. 2020-12-15 12:05:02 +01:00
invoices.h invoice: add an optional local_offer_id. 2020-12-15 12:05:02 +01:00
reservation.c sendpsbt, fundpsbt, utxopsbt, reserveinputs, unreserveinputs: allow custom number of blocks to reserve. 2021-05-26 15:08:01 +09:30
statements_gettextgen.po Suggested code cleanup by TODO comment 2021-05-31 11:52:07 +09:30
txfilter.c common: tal_dup_talarr() helper. 2020-02-27 14:16:16 +10:30
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c Suggested code cleanup by TODO comment 2021-05-31 11:52:07 +09:30
wallet.h sendpsbt, fundpsbt, utxopsbt, reserveinputs, unreserveinputs: allow custom number of blocks to reserve. 2021-05-26 15:08:01 +09:30
walletrpc.c sendpsbt, fundpsbt, utxopsbt, reserveinputs, unreserveinputs: allow custom number of blocks to reserve. 2021-05-26 15:08:01 +09:30
walletrpc.h common: pull up `param_psbt` 2020-10-20 12:50:31 +10:30