Commit 49f682c
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 bfccf7f commit 49f682c
2 files changed
+29
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9667 | 9667 | | |
9668 | 9668 | | |
9669 | 9669 | | |
9670 | | - | |
9671 | | - | |
| 9670 | + | |
| 9671 | + | |
9672 | 9672 | | |
9673 | 9673 | | |
9674 | 9674 | | |
| |||
9684 | 9684 | | |
9685 | 9685 | | |
9686 | 9686 | | |
9687 | | - | |
| 9687 | + | |
9688 | 9688 | | |
9689 | 9689 | | |
9690 | 9690 | | |
| |||
9708 | 9708 | | |
9709 | 9709 | | |
9710 | 9710 | | |
9711 | | - | |
| 9711 | + | |
| 9712 | + | |
| 9713 | + | |
9712 | 9714 | | |
9713 | 9715 | | |
9714 | 9716 | | |
| |||
9864 | 9866 | | |
9865 | 9867 | | |
9866 | 9868 | | |
9867 | | - | |
9868 | | - | |
9869 | | - | |
9870 | | - | |
9871 | 9869 | | |
9872 | | - | |
| 9870 | + | |
| 9871 | + | |
| 9872 | + | |
9873 | 9873 | | |
9874 | 9874 | | |
9875 | 9875 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12559 | 12559 | | |
12560 | 12560 | | |
12561 | 12561 | | |
12562 | | - | |
| 12562 | + | |
12563 | 12563 | | |
12564 | 12564 | | |
12565 | 12565 | | |
| |||
12609 | 12609 | | |
12610 | 12610 | | |
12611 | 12611 | | |
12612 | | - | |
| 12612 | + | |
| 12613 | + | |
| 12614 | + | |
| 12615 | + | |
| 12616 | + | |
| 12617 | + | |
| 12618 | + | |
| 12619 | + | |
| 12620 | + | |
| 12621 | + | |
| 12622 | + | |
12613 | 12623 | | |
12614 | 12624 | | |
12615 | 12625 | | |
| |||
12669 | 12679 | | |
12670 | 12680 | | |
12671 | 12681 | | |
12672 | | - | |
| 12682 | + | |
| 12683 | + | |
| 12684 | + | |
| 12685 | + | |
| 12686 | + | |
| 12687 | + | |
| 12688 | + | |
| 12689 | + | |
12673 | 12690 | | |
12674 | 12691 | | |
12675 | 12692 | | |
| |||
0 commit comments