File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -944,13 +944,12 @@ pub(crate) struct ShutdownResult {
944
944
/// commitment points from our signer.
945
945
#[derive(Debug, Copy, Clone)]
946
946
enum HolderCommitmentPoint {
947
- // TODO: add a variant for before our first commitment point is retrieved
948
947
/// We've advanced our commitment number and are waiting on the next commitment point.
949
- /// Until the `get_per_commitment_point` signer method becomes async, this variant
950
- /// will not be used.
948
+ ///
949
+ /// We should retry advancing to `Available` via `try_resolve_pending` once our
950
+ /// signer is ready to provide the next commitment point.
951
951
PendingNext { transaction_number: u64, current: PublicKey },
952
- /// Our current commitment point is ready, we've cached our next point,
953
- /// and we are not pending a new one.
952
+ /// Our current commitment point is ready and we've cached our next point.
954
953
Available { transaction_number: u64, current: PublicKey, next: PublicKey },
955
954
}
956
955
You can’t perform that action at this time.
0 commit comments