Skip to content

Commit

Permalink
fix: remove PENDING_POOL_WITH_LIQUIDITY_REQUESTS in ack_pool_creation…
Browse files Browse the repository at this point in the history
…_with_funds
  • Loading branch information
joemonem committed Oct 17, 2024
1 parent 92c20ed commit c47de14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/liquidity/factory/src/ibc/ack_and_timeout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ fn ack_pool_creation_with_funds(
.ok_or(ContractError::PoolRequestDoesNotExists { req: tx_id.clone() })?;

// Remove pool request from MAP
PENDING_POOL_REQUESTS.remove(deps.storage, req_key);
PENDING_POOL_REQUESTS.remove(deps.storage, req_key.clone());
PENDING_POOL_WITH_LIQUIDITY_REQUESTS.remove(deps.storage, req_key);

// Check whether res is an error or not
match res {
Expand Down

0 comments on commit c47de14

Please sign in to comment.