Skip to content

Commit 1cb3de6

Browse files
committed
refactor: remove misleading comment
Remove comment that is misleading. As stated in the doc comment, a solution may not be found in the pathological case, in which case `ProgramError` would be returned.
1 parent c04eeb5 commit 1cb3de6

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/single_random_draw.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@ pub fn single_random_draw<
102102
if max_tx_weight_exceeded {
103103
Err(MaxWeightExceeded)
104104
} else {
105-
// This should never be reached.
106-
// Either there is not enough funds, or an overflow occurred.
107-
// If neither of those two things occurred, then a solution should be found.
108105
Err(ProgramError)
109106
}
110107
}

0 commit comments

Comments
 (0)