Skip to content

Commit

Permalink
Add TODOs for reference
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Jun 20, 2023
1 parent ad74f16 commit 2fbcb11
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contracts/provider/external-staking/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ impl ExternalStakingContract<'_> {
// Remove tx
self.pending_txs.remove(ctx.deps.storage, tx_id);

// TODO: Call commit hook on vault

Ok(())
}

Expand Down Expand Up @@ -180,6 +182,9 @@ impl ExternalStakingContract<'_> {

// Remove tx
self.pending_txs.remove(ctx.deps.storage, tx_id);

// TODO: Call rollback hook on vault

Ok(())
}

Expand Down

0 comments on commit 2fbcb11

Please sign in to comment.