File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -147,12 +147,12 @@ impl SenderAllocationRelationship {
147147 & self ,
148148 new_receipt_notification : NewReceiptNotification ,
149149 ) {
150- // If we're in the last rav pending state, we don't want to process any new receipts.
151- if self . state ( ) . await == State :: LastRavPending {
150+ // If we're in the last rav pending state or finished, we don't want to process any new
151+ // receipts.
152+ if self . state ( ) . await != State :: Running {
152153 error ! (
153- "Received a new receipt notification for allocation {} and sender {} while \
154- the last RAV is pending. This should not have happened since this allocation \
155- and/or sender is not eligible anymore.",
154+ "Received a new receipt notification for now ineligible allocation {} and \
155+ sender {}.",
156156 self . inner. allocation_id, self . inner. sender
157157 ) ;
158158 return ;
You can’t perform that action at this time.
0 commit comments