Commit 2279899
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 fea0bee commit 2279899
2 files changed
+28
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10550 | 10550 | | |
10551 | 10551 | | |
10552 | 10552 | | |
10553 | | - | |
10554 | | - | |
| 10553 | + | |
| 10554 | + | |
10555 | 10555 | | |
10556 | 10556 | | |
10557 | 10557 | | |
| |||
10567 | 10567 | | |
10568 | 10568 | | |
10569 | 10569 | | |
10570 | | - | |
| 10570 | + | |
10571 | 10571 | | |
10572 | 10572 | | |
10573 | 10573 | | |
| |||
10591 | 10591 | | |
10592 | 10592 | | |
10593 | 10593 | | |
10594 | | - | |
| 10594 | + | |
| 10595 | + | |
| 10596 | + | |
10595 | 10597 | | |
10596 | 10598 | | |
10597 | 10599 | | |
| |||
10747 | 10749 | | |
10748 | 10750 | | |
10749 | 10751 | | |
10750 | | - | |
10751 | | - | |
10752 | | - | |
10753 | | - | |
10754 | 10752 | | |
10755 | | - | |
| 10753 | + | |
| 10754 | + | |
10756 | 10755 | | |
10757 | 10756 | | |
10758 | 10757 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13302 | 13302 | | |
13303 | 13303 | | |
13304 | 13304 | | |
13305 | | - | |
| 13305 | + | |
13306 | 13306 | | |
13307 | 13307 | | |
13308 | 13308 | | |
| |||
13352 | 13352 | | |
13353 | 13353 | | |
13354 | 13354 | | |
13355 | | - | |
| 13355 | + | |
| 13356 | + | |
| 13357 | + | |
| 13358 | + | |
| 13359 | + | |
| 13360 | + | |
| 13361 | + | |
| 13362 | + | |
| 13363 | + | |
| 13364 | + | |
| 13365 | + | |
13356 | 13366 | | |
13357 | 13367 | | |
13358 | 13368 | | |
| |||
13412 | 13422 | | |
13413 | 13423 | | |
13414 | 13424 | | |
13415 | | - | |
| 13425 | + | |
| 13426 | + | |
| 13427 | + | |
| 13428 | + | |
| 13429 | + | |
| 13430 | + | |
| 13431 | + | |
| 13432 | + | |
13416 | 13433 | | |
13417 | 13434 | | |
13418 | 13435 | | |
| |||
0 commit comments