utxos: more comprehensive fix for csv check

we only 'need' to check the CSV for 'option_anchor_outputs' (and even
then, really only ones with csv's greater than 1 but...)

Reported-In: #4697
This commit is contained in:
niftynei
2021-08-09 13:54:00 -05:00
committed by Rusty Russell
parent 78a48fa7ec
commit 773aa26321
5 changed files with 197 additions and 135 deletions

View File

@@ -2032,4 +2032,4 @@ struct db_query db_postgres_queries[] = {
#endif /* LIGHTNINGD_WALLET_GEN_DB_POSTGRES */
// SHA256STAMP:df06b800543e6bb886100ca428247ac1097f749098779dae43ba875154700f58
// SHA256STAMP:1423567c921b088aefdd7a07fcbfa2db1903ef4e2410550eccb5574a9f133f28