utxo: don't add outputs that aren't currently eligible to be spent

If an output's CSV lock hasn't been surpassed yet, don't try to
include it in a transaction
This commit is contained in:
niftynei
2021-07-02 14:56:35 -05:00
committed by neil saitug
parent 86f7a179a9
commit 03ccebc296
7 changed files with 151 additions and 122 deletions

View File

@@ -2026,4 +2026,4 @@ struct db_query db_postgres_queries[] = {
#endif /* LIGHTNINGD_WALLET_GEN_DB_POSTGRES */
// SHA256STAMP:ee6c1b38b43e1959bbd7b31e15afa4a45bcbd37acf7ce6ffc994cc8002ec96e1
// SHA256STAMP:020ef91a3637bbe29c82477083389a5ecaf359ae049940017ec5c76609c08fdc