Commit a54159c
committed
Don't pass a latest-block-time to
When calling `Channel::best_block_updated` we pass it the timestamp
of the block we're connecting so that it can track the highest
timestamp it has seen.
However, in some cases, we don't actually have a timestamp to pass,
which `Channel::best_block_updated` will happily ignore as it
always takes the `max` of its existing value. Thus, we really
should pass a `None` to ensure the API is understandable, which we
do here.Channel unless we have one1 parent cf96b7d commit a54159c
2 files changed
+29
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9291 | 9291 | | |
9292 | 9292 | | |
9293 | 9293 | | |
9294 | | - | |
9295 | | - | |
| 9294 | + | |
| 9295 | + | |
9296 | 9296 | | |
9297 | 9297 | | |
9298 | 9298 | | |
| |||
9308 | 9308 | | |
9309 | 9309 | | |
9310 | 9310 | | |
9311 | | - | |
| 9311 | + | |
9312 | 9312 | | |
9313 | 9313 | | |
9314 | 9314 | | |
| |||
9332 | 9332 | | |
9333 | 9333 | | |
9334 | 9334 | | |
9335 | | - | |
| 9335 | + | |
| 9336 | + | |
| 9337 | + | |
9336 | 9338 | | |
9337 | 9339 | | |
9338 | 9340 | | |
| |||
9482 | 9484 | | |
9483 | 9485 | | |
9484 | 9486 | | |
9485 | | - | |
9486 | | - | |
9487 | | - | |
9488 | | - | |
9489 | 9487 | | |
9490 | | - | |
| 9488 | + | |
| 9489 | + | |
| 9490 | + | |
9491 | 9491 | | |
9492 | 9492 | | |
9493 | 9493 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12035 | 12035 | | |
12036 | 12036 | | |
12037 | 12037 | | |
12038 | | - | |
| 12038 | + | |
12039 | 12039 | | |
12040 | 12040 | | |
12041 | 12041 | | |
| |||
12085 | 12085 | | |
12086 | 12086 | | |
12087 | 12087 | | |
12088 | | - | |
| 12088 | + | |
| 12089 | + | |
| 12090 | + | |
| 12091 | + | |
| 12092 | + | |
| 12093 | + | |
| 12094 | + | |
| 12095 | + | |
| 12096 | + | |
| 12097 | + | |
| 12098 | + | |
12089 | 12099 | | |
12090 | 12100 | | |
12091 | 12101 | | |
| |||
12145 | 12155 | | |
12146 | 12156 | | |
12147 | 12157 | | |
12148 | | - | |
| 12158 | + | |
| 12159 | + | |
| 12160 | + | |
| 12161 | + | |
| 12162 | + | |
| 12163 | + | |
| 12164 | + | |
| 12165 | + | |
12149 | 12166 | | |
12150 | 12167 | | |
12151 | 12168 | | |
| |||
0 commit comments