Skip to content

Commit fef2984

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

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
@@ -842,6 +842,12 @@ impl Actor for SenderAccount {
842842
// remove from sender_fee_tracker
843843
state.sender_fee_tracker.remove(allocation_id);
844844

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

0 commit comments

Comments
 (0)