File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -147,12 +147,12 @@ impl SenderAllocationRelationship {
147
147
& self ,
148
148
new_receipt_notification : NewReceiptNotification ,
149
149
) {
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 {
152
153
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 {}.",
156
156
self . inner. allocation_id, self . inner. sender
157
157
) ;
158
158
return ;
You can’t perform that action at this time.
0 commit comments