Commit 9ac2594
committed
Ensure we set funding amounts on old channels still on the graph
In c02f2ec we added
`funding_amount_sats` to `channel_announcements`, making it
`NOT NULL` for new DBs, but `NULL` for old ones. When querying,
however, we (indirectly) `unwrap`ed the values.
Here, we try to backfill by looking at the local network graph on
startup and updating the existing entries, rather than ignoring
conflicting writes.1 parent ceb355b commit 9ac2594
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
0 commit comments