Skip to content

Commit 5fb580f

Browse files
committed
refactor: send retry to check deny conditions
Signed-off-by: Gustavo Inacio <[email protected]>
1 parent 1355625 commit 5fb580f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tap-agent/src/agent/sender_account.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,12 @@ impl Actor for SenderAccount {
840840
// remove from sender_fee_tracker
841841
state.sender_fee_tracker.remove(allocation_id);
842842

843+
// check for deny conditions
844+
let _ = myself.cast(SenderAccountMessage::UpdateReceiptFees(
845+
allocation_id,
846+
ReceiptFees::Retry,
847+
));
848+
843849
// rav tracker is not updated because it's still not redeemed
844850
}
845851
SupervisionEvent::ActorPanicked(cell, error) => {

0 commit comments

Comments
 (0)