Commit e68243a
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 d16bd9e commit e68243a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
0 commit comments